Skip to content

How to use Goldmark renderer without setting unsafe to true? #323

@andreamussap

Description

@andreamussap

Hello. On https://github.com/Axway/axway-open-docs project, we've been using Hugo Blackfriday markdown parser, and now we want to update it to Goldmark, see #1047.

However, I've read on Docsy docs that to use Goldmark, I'll have to set the unsafe property to true: unsafe = true.

Doing that will allow someone to add HTML code into our markdown files, which can cause a security issue. However, if we don't turn the unsafe on, the content/en/_index.html page won't render.

So, I'd like to ask you if there's a way to make the content/en/_index.html renders correctly having unsafe = false, and if not, are you're planning a fix for that?

Thanks,
Andrea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions