This is a MarkDown parser that transforms into html by the use of mjml as a jinja template
This parser reads comments on Markdown files, and interpret them into parser directives. Then, those directives transform the markdown document structure into a python object.
After, that object is passed into a jinja template as the context variable content.
In order to execute this program, install the dependencies on
requiriments.txt and run the next command:
python md2html.py readme.md test_files/test_03/template.mjml > readme.mjml
Yes. This readme is formatted and can be prettified by this tool ;-)
After that, you will have a fully functional mjml file that can be converted into html.
Go, now, and check this tool
This tool was created during the EQUINOX 2019, a hackaton for, and by, Telefonica Digital employees.