md2pdf

pandoc wrapper to convert markdown to pdf
Index Commits Files Refs README
README.md (850B)
   1 # Markdown to PDF
   2 
   3 This is a markdown to pdf wrapper for [pandoc](https://pandoc.org/), its main
   4 purpose is to generate a similar PDF to the one generated with
   5 [Obsidian](https://obsidian.md/) by default.
   6 
   7 ## Example output
   8 
   9 ![pdf](https://user-images.githubusercontent.com/64109770/235328806-cb7bd0aa-0b7e-44d3-b162-aa50a482d3a7.gif)
  10 
  11 ## Dependencies
  12 
  13 - [Pandoc](https://pandoc.org/)
  14 - [Inter font](https://fonts.google.com/specimen/Inter)
  15 - [Fira math font](https://github.com/firamath/firamath)
  16 
  17 ## Installation
  18 
  19 If you want to install this script to your system, copy the executable to
  20 `$HOME/.local/bin` or to `/usr/bin` if you want to install it user-wide or
  21 system-wide respectively.
  22 
  23 - User wide:
  24 ```shell
  25 $ cp ./md2pdf $HOME/.local/bin
  26 ```
  27 
  28 - System wide:
  29 ```shell
  30 # cp ./md2pdf /usr/bin
  31 ```
  32 
  33 ## Usage
  34 
  35 ```shell
  36 $ md2pdf <input_file.md>
  37 ```