Github / Discourse behaviour for rendering certain markup

The Github markdown processor renders `%{`_name_`}` as %{name}, but hugo renders it as `%{`_name_`}`.
Is there a config setting to get the Github behaviour?

I think this is a Goldmark bug. Using screen captures for clarity…

This markdown:


produces this HTML:


But this markdown:


produces this HTML:


According to, both should produce:


In config.toml, if you set:

defaultMarkdownHandler = "blackfriday"

you will get the expected result, which to me indicates this is a Goldmark error.

Please create an issue at says:

goldmark is not dedicated for Hugo. If you are Hugo user and your issue was raised by your experience in Hugo, you should consider create issue at Hugo repository at first .

Suggestive, but not compelling. If you’d prefer, create a Hugo issue, then create a Goldmark issue, then link the two with an Upstream tag on the Hugo issue.

Ok, did my best… Even wrote my first go program ever ;).

1 Like

Nicely done.

1 Like

Open Source for the win…

Waiting for hugo to upgrade its goldmark module…