gohugoio/hugoBasicExample

KaTeX inline math being rendered as block (with Goldmark)

sephore opened this issue · 1 comments

According to @onedrawingperday in #57 (comment) Goldmark is now able to render the Math Typesetting example, but apparently it shares one same problem with Blackfriday where inline math will be rendered as a block.

Digging the forums, the previous recommendation was simply "use mmark instead" (see: https://discourse.gohugo.io/t/katex-inline-math-in-md-vs-mmark/19141/2).

Am I missing something?

@sephore

See: f6f3d29 for current workaround.

mmark is deprecated and will be removed.

Inline shortcodes require the unsafe = true setting for Goldmark.