kavinyao / md2latex

:sparkles:Markdown to LaTeX:sparkles:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

md2latex

A lame Markdown to LaTeX converter.

IMPORTANT

This project is no longer developed. Check out https://github.com/gitcordier/md2latex for an actively maintained md2latex implementation with more features.

Install

Run pip install md2latex (use sudo if necessary).

See test.md for an example and run md2latex test.md test.tex to taste a flavor of it.

Features

  • title
  • author(s)
  • headings (converted to sections)
  • lists (converted to enumerate/itemize)
  • emphasis, strong and monospace text style
  • hyperlink (using hyperref package)
  • footnote (in mistune syntax)

Caveats

You can inline LaTeX commands because they are not markdown-parsable. However, md2latex doesn't do auto-escaping for you so if you have underscore LaTeX meta chracters such as _ or % in your document, be cautious!

Acknowledgement

Thanks @lepture for the super awersome mistune markdown parser.

About

:sparkles:Markdown to LaTeX:sparkles:

License:MIT License


Languages

Language:Python 100.0%