Due to the fact that all semi-native Ruby libraries for markdown generation have issues and long-standing bugs, this PR adds pandoc as an alternative rendering engine. The default is still going to be Redcarpet for the time being, since pandoc requires an external installation, which is less convenient.
To use pandoc as the renderer, add this to .madness.yml:
# ./madness.yml
renderer: pandoc
Notable advantages of using pandoc:
Headers that contains diacritics have their ids (for Table of Contents links) generated correctly
Due to the fact that all semi-native Ruby libraries for markdown generation have issues and long-standing bugs, this PR adds pandoc as an alternative rendering engine. The default is still going to be Redcarpet for the time being, since pandoc requires an external installation, which is less convenient.
To use pandoc as the renderer, add this to
.madness.yml
:Notable advantages of using pandoc:
158
178
Notable disadvantages of using pandoc:
pandoc
to be installed (usually it is as simple as installing it with your package manager)