a post with code
This theme implements Rouge, a built-in Jekyll feature for syntax highlighting. It supports more than 100 languages.
def greet(name: str) -> str:
return f"hello, {name}"
Wrap your code in Markdown code fences and add the language name after the opening fence.