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 am using gold mark highlighting extension in my go code like this.
highlighting.NewHighlighting( highlighting.WithStyle("monokai"), ),
and i define code in markdown this way
```json { "site_title":"test", "email":"hello@flux.com", "twitter_username":"@test", "github_username":"test", "minify_css": true, "minify_html": true, "list": [ "1", "2", "3" ], "map": { "a": 1, "b": 2 } } ```
After the rendering my formatted code block does not take whitespace or newlines into account and displays HTML like this.
Not sure, if this is a bug or I am missing some config option!
My full gold mark instantiation looks like this.
md := goldmark.New( goldmark.WithExtensions(meta.Meta, highlighting.NewHighlighting( highlighting.WithStyle("monokai"), ), extension.Footnote, extension.GFM, emoji.Emoji, mathjax.MathJax, ), goldmark.WithRendererOptions( html.WithHardWraps(), ), goldmark.WithParserOptions( parser.WithBlockParsers(), parser.WithAttribute(), ), )
The text was updated successfully, but these errors were encountered:
This seems a problem related your own CSS.
Sorry, something went wrong.
No branches or pull requests
I am using gold mark highlighting extension in my go code like this.
and i define code in markdown this way
After the rendering my formatted code block does not take whitespace or newlines into account and displays HTML like this.
![Screenshot 2021-07-08 at 6 30 34 PM](https://user-images.githubusercontent.com/8711912/124925919-96e08480-e01a-11eb-987b-d96234d71803.png)
Not sure, if this is a bug or I am missing some config option!
My full gold mark instantiation looks like this.
The text was updated successfully, but these errors were encountered: