npm script for creating a markdown template: [filename].md
+ Makefile
-> [filename].pdf
Creating a project
[some-folder]$ npx @bergkvist/mdmake [filename]
This will create a Makefile
as well as [filename].md
in the current folder.
Usage after creation
[some-folder]$ make
[some-folder]$ make watch
[some-folder]$ make preview
[some-folder]$ make edit
Requirements
pandoc
with pdf-latex
(for compiling from [filename].md
-> [filename].pdf
)zathura
(for opening pdf-preview)entr
(for watching file changes)make
(for using the make
commands)gedit
(for using make edit
)