Closed assayire closed 1 year ago
Hi, syntax highlighting works well for me (e.g. blog). Could you post your code blocks so that I can help identify the problem?
Hint, maybe you should look at
config.toml
:[markup.highlight] style = "emacs" # syntax highlight style, see https://xyproto.github.io/splash/docs/
Ahh I see now.
Added this to turn on the magic. Works fine now.
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark.renderer]
unsafe = true # enable html in markdown
[markup.highlight]
style = "emacs"
Does this theme support syntax highlighting in code blocks? If so, how do I enable it? Currently, the code in code blocks are all just red color.
Thanks.