https://github.com/radionoisee/md2tex
GIGO Markdown to TeX.
https://github.com/radionoisee/md2tex
latex markdown markdown-converter tex
Last synced: 5 months ago
JSON representation
GIGO Markdown to TeX.
- Host: GitHub
- URL: https://github.com/radionoisee/md2tex
- Owner: RadioNoiseE
- License: mit
- Archived: true
- Created: 2024-09-16T04:25:37.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T07:09:51.000Z (8 months ago)
- Last Synced: 2024-12-18T23:04:28.781Z (7 months ago)
- Topics: latex, markdown, markdown-converter, tex
- Language: C
- Homepage:
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Markdown To (La)TeX
A blazing fast, lenient parser based on MD4C.
You should be familiar with TeX as the generated output does not work out of the box.
Refer to [this project that utilizes it to convert Markdown to LaTeX then to PDF](https://github.com/Computerization/c13n/tree/main/typeset).
This repository is archived as all further maintenance will happen [here](https://github.com/Computerization/c13n).
## Build
Tested on Linux and Mach-O, should work on Windows.
```sh
make
```## Usage
```sh
./md2tex in.md out.tex
```## Extensions
It support the `TABLE`, `UNDERLINE`, `STRIKETHROUGH` and `TEX` extensions.
## LaTeX
You need to define the `\thematic` and `\del` macro yourself. It won't harm `\let`ing them both to `\relax`.
## TeX
You have to define all the LaTeX and custom macros used. However in this case you should simply modify `md2t.c` and rebuild.