jgm/lunamark — Issue #3: LuaLaTex module for direct markdown inclusion in LaTeX documents
Author: mmahnic
Created: 2011-12-21 20:22:41+00:00
State: open

I created a module with which it is possible to include markdown code directly into LaTeX documents. Currently it is based on peg-multimarkdown. I tried to use lunamark instead, since I'm also interested in ConTeXt output. Unfortunately lpeg.B doesn't exist in LuaTeX since it includes lpeg 0.9.

Is there a way to simulate lpeg.B in pure lua?
If not, how would one modify the parser so that it wouldn't use lpeg.B?

The module is here:

https://github.com/mmahnic/peg-multimarkdown/tree/master/lualatex

Thanks,
Marko