Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KaTeX inline math being rendered as block (with Goldmark) #60

Closed
sephore opened this issue May 27, 2020 · 1 comment
Closed

KaTeX inline math being rendered as block (with Goldmark) #60

sephore opened this issue May 27, 2020 · 1 comment

Comments

@sephore
Copy link

sephore commented May 27, 2020

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?

@onedrawingperday
Copy link
Contributor

@sephore

See: f6f3d29 for current workaround.

mmark is deprecated and will be removed.

Inline shortcodes require the unsafe = true setting for Goldmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants