#markdown #common-mark #tex #cmark #convert-markdown

bin+lib cmark2tex

A small utility to convert markdown files to pdf exploiting tectonic

3 unstable releases

0.4.0-beta.1 Jan 13, 2023
0.3.0-beta.2 Dec 13, 2022

#1668 in Text processing


Used in mdbook-tectonic

MIT and GPL-3.0+

26KB
518 lines

cmark2tex

crates badge docs badge

A small utility to convert markdown files to tex. Forked originally from md2pdf, refocused on mdbook conversions.

Used by mdbook-tectonic to generate PDF's.

Forked from https://github.com/lbeckman314/md2tex forked from https://gitea.tforgione.fr/tforgione/md2pdf.

Usage

Lib

See docs.rs.

CLI Tool

cmark2tex -i input.md -o output.tex

Dependencies

~16–26MB
~388K SLoC