Skip to content
New issue

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

config.toml update to include new Goldmark default #16

Closed
IllusiveMilkman opened this issue Dec 10, 2019 · 1 comment
Closed

config.toml update to include new Goldmark default #16

IllusiveMilkman opened this issue Dec 10, 2019 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@IllusiveMilkman
Copy link

Please include the following to config.toml under the Example Site.

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

Since Hugo 0.6.0 the default markdown now requires this to render HTML tags.

As an example, look at the current Markdown syntax guide for LoveIt:
https://themes.gohugo.io//theme/LoveIt/post/markdown-syntax/

At present HTML is rendered with <!-- raw HTML omitted --> The above setting will rectify it, but ultimately it's your decision to include it or not.

@Programazing
Copy link
Contributor

Added in Pull Request #29

@dillonzq dillonzq added bug Something isn't working enhancement New feature or request labels Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants