reuixiy / hugo-theme-meme

😝 You can’t spell awesome without MemE!
https://io-oi.me/hugo-theme-meme
MIT License
1.02k stars 280 forks source link

请问公式块中的多条公式如何换行?我用latex中的双反斜杠"\\"无法实现换行。 #349

Open MowenPan opened 3 years ago

makisevon commented 2 years ago

It's a render problem since goldmark will convert \\ to \ . See gohugoio/hugo#6694 for more details.

Possible solutions:

  1. Preprocess math, perfect but complicated, see litao91/goldmark-mathjax.
  2. Use MathML or images, bad.
  3. Replace \\ with some code and recover after rendering, dirty.
  4. Use \\\ or \newline, recommended.