We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I saw the issue: #30 ,
and found the param disable_highlight to disable code highlight default:
disable_highlight
params: disable_highlight: true
But not work for me.
When I deleted this lines in foot_custom.html :
{{ if and (not .Params.disable_highlight) (in (string .Content) "</pre>") }} <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rstudio/markdown/inst/resources/prism-xcode.css"> <script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-core.min.js" defer></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js" defer></script> {{ end }}
and add hugo params in config.yaml:
markup: highlight: codeFences: false style: catppuccin-latte
code highlight not work, so , what should I do to use the chroma of hugo code highlight?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I saw the issue: #30 ,
and found the param
disable_highlight
to disable code highlight default:But not work for me.
When I deleted this lines in foot_custom.html :
and add hugo params in config.yaml:
code highlight not work, so , what should I do to use the chroma of hugo code highlight?
The text was updated successfully, but these errors were encountered: