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

Slate notes and warnings not working #57

Closed
katopway opened this issue Jul 10, 2020 · 1 comment · Fixed by #58
Closed

Slate notes and warnings not working #57

katopway opened this issue Jul 10, 2020 · 1 comment · Fixed by #58

Comments

@katopway
Copy link

Seems notes and warnings from slate syntax is not working, also as in the example site.

image

Can you help to have a look.

Not sure whether related to specific version, currenly with go1.13.6, hugo version 0.73.0 and the latest of docuapi.

@metachris
Copy link
Contributor

metachris commented Jul 10, 2020

It's because hugo doesn't allow html by default since some recent version. You need to add

[markup.goldmark.renderer]
    unsafe = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants