4 releases
0.1.3 | Feb 17, 2023 |
---|---|
0.1.2 | Feb 3, 2023 |
0.1.1 | Jan 24, 2023 |
0.1.0 | Jan 23, 2023 |
#1558 in Text processing
30KB
708 lines
saurus
Markdown → LaTeX transpiler
Usage
$ saurus -i input.md -o out.tex
Currently supports
- Headings
- Ordered Lists (with respect for numbers)
- Unordered Lists
- Bold
- Italics
- Bold & Italics
- Source Code Blocks
- Inline Code
- Block Quotes
- Nested Unordered Lists
Pending Support
- Nested Ordered Lists
- Continuation of Lists when interrupted by blocks
LaTeX packages required
- geometry: margins
- ulem:
strikeoutfunctionality - listings: source code blocks (list of all available languages can be found in src/transpiler/code_blocks.rs)
- hyperref: hyperlinks
- xcolor: robust colors
- indentfirst: indents first paragraph after section heading (required package in all LaTeX distributions)
Dependencies
~3–4MB
~68K SLoC