https://github.com/mathialo/mdc
A Markdown-to-PDF compiler based on pandoc
https://github.com/mathialo/mdc
Last synced: about 1 month ago
JSON representation
A Markdown-to-PDF compiler based on pandoc
- Host: GitHub
- URL: https://github.com/mathialo/mdc
- Owner: mathialo
- License: mit
- Created: 2019-08-20T19:23:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-20T19:45:03.000Z (almost 7 years ago)
- Last Synced: 2025-03-09T05:53:35.528Z (over 1 year ago)
- Language: Shell
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdc
A Markdown-to-PDF compiler based on pandoc and LaTeX that produces nice-looking documents using a custom LaTeX template for pandoc.
## Installation
To install on a Unix-type OS, follow these steps:
1. Install __pandoc__ and __texlive__, or any other LaTeX distribution.
2. Clone this repository:
```
$ git clone https://github.com/mathialo/mdc.git
```
3. Install the LaTeX template for pandoc:
```
$ cp path/to/mdc-template.latex ~/.pandoc/templates/
```
4. Create a symlink to `mdc.sh` in `/usr/local/bin`, or any other directory in your `$PATH`:
```
$ ln -s /full/path/to/mdc.sh /usr/local/bin/mdc
```
Now you should be set to convert your Markdown documents to PDFs:
```
$ mdc document.md
```
See _README.pdf_ for a PDF version of this readme created with mdc.