◐ Shell
clean mode source ↗

GitHub - CodeMonk/mdGraph: python markdown plugin for graphs - using the google chart api

mdGraph

Extends python markdown with the option to create to graphs using the
google chart API

A block to be converted should look like this:

!! Title
      Value
col1    1
col1    3
col1    2
col1    1


usage::
    import markdown
    md = markdown.Markdown(extensions=['mdGraph'])

    with open('test.md') as F:
         raw = F.read()

    convert = md.convert(raw)

    with open('test.html', 'w') as G:
         G.write(convert)