This project attempts to render John Gruber's markdown format to PNG
(or
other image formats). The markdown syntax lives
here.
Currently, it uses Python's PIL image library to render the results and python-markdown to parse markdown.
NOTE: This has only been tested on Python 2.6 so far...
- Block Elements
- paragraph
- headers
- blockquote
- lists
- code block
- hr
- Inline Elements
- anchor
- emphasis
- code
easy_install PIL
easy_install Markdown
cd src
python convert.py <markdown_filename> [output_filename] [width]
- Item 1
- Item 2 - This is a test of a longer string in a list. Hopefuly this wraps around properly.
- Item 3
- Item 4
- Subitem 1
- Subitem 2
- Item 5