v4.0.0
As I described in #26, I want to make MemE support Hugo's new default Markdown rendering engine Goldmark, and this is it. In this version, MemE will support Goldmark and no longer support Blackfriday.
Notes
-
Goldmark problems, see #43 (comment)
-
Compatibility with LaTeX, see gohugoio/hugo#6544
Previously, I suggested adding some backslashes to escape some characters to solve the syntax conflict between Markdown and LaTeX. Now, I think that is not the right way -- it's troublesome and stupid.
In v4.0.0, MemE adds a new
compatibleWithLaTeX
option as a temporary workaround. But note that it has some limitations, such as it can't exclude equations inside code block, it supports$ ... $
and$$ ... $$
only.And at last, apology for my wrong suggestion, which may take some of your time to modify the equations again.
-
With Hugo brand new Markdown renderer Goldmark, #14 should be fixed.
ATTENTION
MemE v4.0.0 requires Hugo v0.62.2 or higher.