styx-static / styx

Static site generator in Nix expression language.
https://styx-static.github.io/styx-site/
MIT License
213 stars 25 forks source link

Use pandoc instead of multimarkdown #69

Closed NickHu closed 2 years ago

NickHu commented 2 years ago

This replaces multimarkdown with pandoc.

I've been patching out multimarkdown for pandoc for years now, and now that the new parser is merged the patch is even simpler.

I think pandoc is a better maintained and more modern than the other flavours of Markdown out there. It would also be quite easy to support other document formats with pandoc.

blaggacao commented 2 years ago

LGTM, any opinion/insight on if that would break any under some circumstances? Chances are probably low, just to know if this needs a relnote or something?

NickHu commented 2 years ago

I don't have any specific examples in mind, but I think multimarkdown and pandoc do render some documents differently. I think pandoc should render something sensible for every acceptable input to multimarkdown though

blaggacao commented 2 years ago

Let's go for it, then

blaggacao commented 2 years ago

fixing tests here: https://github.com/styx-static/styx/pull/74