/md2pdf

pandoc wrapper for converting markdown to pdf

Primary LanguageTeX

Markdown to PDF

This is a markdown to pdf wrapper for pandoc, its main purpose is to generate a similar PDF to the one generated with Obsidian by default.

Example output

pdf

Dependencies

Installation

If you want to install this script to your system, copy the executable to $HOME/.local/bin or to /usr/bin if you want to install it user-wide or system-wide respectively.

  • User wide:
$ cp ./md2pdf $HOME/.local/bin
  • System wide:
# cp ./md2pdf /usr/bin

Usage

$ md2pdf <input_file.md>