bep / docuapi

Beautiful multilingual API documentation theme for Hugo
https://docuapi.netlify.app/
Other
750 stars 200 forks source link

Slate notes and warnings not working #57

Closed katopway closed 4 years ago

katopway commented 4 years ago

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 commented 4 years ago

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

[markup.goldmark.renderer]
    unsafe = true