Is mmark still available as markdown processor?

My hugo.toml,

# [markup]
#   defaultMarkdownHandler = "pandoc"
[markup]
  defaultMarkdownHandler = "mmark"
  [markup.goldmark]
    [markup.goldmark.renderer]
      unsafe = true  # Critical for math support

[security]
  enableInlineShortcodes = false  # Keep this as-is unless needed
  [security.exec]
    allow = ['^pandoc$', '^mmark$']  # Whitelist pandoc (and mmark if used)
> which mmark
/opt/local/bin/mmark
> cd ~/tmp/quickstart
> hugo server -D
Error: markup: Configured defaultMarkdownHandler "mmark" not found.

No, the mmark renderer was removed years ago. It was formally deprecated on 25 Nov 2019.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.