CodeCopy & Syntax highlighting don't work for me. #1232
Answered
by
GrassBlock1
GrassBlock1
asked this question in
Q&A
-
Like issue #610 ,the copy button near code blocks and syntax highlighting don't show at all,but I had write the code block with language declaration and it seemed not work either.(even with the sample in example site) My config: colorScheme = "noir"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true
enableSearch = true
enableCodeCopy = true markup.toml # -- Markup --
# These settings are required for the theme to function.
[goldmark]
[goldmark.renderer]
unsafe = true
[highlight]
noClasses = false Regardless if its draft page or not, hugo server or generated public pages, it doesn't work. |
Beta Was this translation helpful? Give feedback.
Answered by
GrassBlock1
Feb 13, 2024
Replies: 1 comment
-
seems like a issue with custom rss template and |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GrassBlock1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seems like a issue with custom rss template and
render-codeblock.rss.xml
hook.my fault.