Aviksaikat / Markdown-to-pdf

Simple script to convert markdowns to pdfs using pandoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown to PDF Export Using Pandoc

Saikat Karmakar | Sept : 2021


Usage

git clone https://github.com/Aviksaikat/Markdown-to-pdf.git
cd Markdown-to-pdf
chmod +x markdown-to-pdf.sh 
./markdown-to-pdf.sh <input.md> <output.md>
demo.mp4

Requirements

  • Pandoc
  • LaTeX (eg. TeX Live) in order to get pdflatex or xelatex
  • Eisvogel Pandoc LaTeX PDF Template(inside the templates folder)

Installation on common distros:

  • Kali/Debian/Ubuntu: apt install texlive-latex-recommended texlive-fonts-extra texlive-latex-extra pandoc
  • ArchLinux: pacman -S texlive-most pandoc
  • openSUSE: zypper in texlive-scheme-medium pandoc

About

Simple script to convert markdowns to pdfs using pandoc


Languages

Language:Shell 100.0%