3 ms·
Did you extend Pandoc or Gitit? I would be very interested in extending/changing Pandoc slightly, but so far I got along with doing my changes with sed and writ
by johkra 15y ago
Did you extend Pandoc or Gitit? I would be very interested in extending/changing Pandoc slightly, but so far I got along with doing my changes with sed and writing some inline LaTeX.
If you extended Pandoc, do you mind giving a pointer to your source? I write Haskell poorly, so an example would be appreciated.
- gwern 15y agoThe plugins are bundled with Gitit. See: https://github.com/jgm/gitit/blob/master/plugins/Interwiki.hs https://github.com/jgm/gitit/blob/master/plugins/Interwiki.h... https://github.com/jgm/gitit/blob/master/plugins/Subst.hs https://github.com/jgm/gitit/blob/master/plugins/Subst.hs https://github.com/jgm/gitit/blob/master/plugins/WebArchiver.hs https://github.com/jgm/gitit/blob/master/plugins/WebArchiver... They are meant for use with Gitit, but they are easily adapted for other purposes. For example, the archive code was easily adapted into a script to read Markdown files and spit out external links to stdout: http://groups.google.com/group/pandoc-discuss/browse_thread/thread/42c29d0b66dcdb14/347498f0234cc1dc http://groups.google.com/group/pandoc-discuss/browse_thread/...