modulepackage
0.0.0-20200908163324-34485b896faf
Repository: https://github.com/idlephysicist/markup.git
Documentation: pkg.go.dev
# README
markup
Markup is a simple tool to facilitate the rendering of markdown to PDF based on LaTeX templates.
Requirements
Markup relies upon pandoc
and imagemagick
.
Templates
Templates are expected to be stored in ~/.config/markup
, and are to be of .tex
extension.
# Packages
No description provided by the author
# Functions
FindAllTemplates walks the template directory to find all LaTeX template files present.
FindTempate accepts a name of a template and returns a pointer to that file.
Markup is a wrapper function around Pandoc that renders the inputted Markdown file to a PDF using Pandoc and a LaTeX template provided by the user.
OpenFile accepts a path to a file and returns a pointer to the file, if it exists.
Xerox is a wrapper function around ImageMagick's convert that "xeroxes" the PDF to look as though it has been photocopied n times.