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
class
style
Why should we use class, not hard code style:
The text was updated successfully, but these errors were encountered:
hI, you can use cutom configuration, goldmark-highlighting is base on https://github.com/alecthomas/chroma, so you can
goldmark.New( goldmark.WithExtensions( highlighting.NewHighlighting( highlighting.WithStyle("base16-snazzy"), highlighting.WithFormatOptions( chromahtml.ClassPrefix("highlight-"), chromahtml.WithClasses(true), chromahtml.LineNumbersInTable(true), chromahtml.WithAllClasses(true), chromahtml.WithLineNumbers(true), ), ), ), )
Sorry, something went wrong.
No branches or pull requests
Why should we use
class
, not hard codestyle
:class
can ensure people are using their perfect theme.The text was updated successfully, but these errors were encountered: