I’ve taken a quick look at the hugo code and have seen imports for two markdown processing libs:
- GitHub - russross/blackfriday: Blackfriday: a markdown processor for Go
- GitHub - miekg/mmark: **OBSOLETE** See https://github.com/mmarkdown/mmark
I didn’t go further about how they’re being used but, Mmark seems the promissing one regarding this aspect. From their docs:
- Math support, use
$$
as the delimiter. If the math is part of a paragraph it will
be displayed inline, if the entire paragraph consists out of math it considered display
math. No attempt is made to parse what is between the$$
.
Which looks like resembling the Kramdown feature.