github-markdown

A github-friendly markdown converter for parsing markdown containing latex equations


License
MIT
Install
pip install github-markdown==1.0.0

Documentation

github_markdown

What is this?

A tool for converting an ugly LaTeX expression such as:

$p(y=1 \mid f_1=1, f_2=1. f_6=0)$

into something like this:

.

Github Markdown does not support LaTeX math mode natively.

How do I get it?

Get it with PIP:

pip install github-markdown

How do I use it?

Have two files ready, one containing the markdown to be converted, and another one which the converted markdown is written to, can be empty or not, it does not matter.

import github_markdown as gm

i = 'file_in.md'
o = 'file_out.md'

gm.markdown_texify(i,o)