Creating beautifully formated journals with pandoc, Markdown and LaTeX. The included nodejs scripts will support you, having a live preview of the compiled PDF file, you are working on.
In the best case you are using a UNIX-like operating system like macOS oder GNU/Linux. You will need a LaTeX compiler like pdflatex and nodejs installed.
nodejs is the de facto standard for server-side JavaScript programming and is used in our case to stay on track of any changes of the Markdown files.
yarn is a node dependency manager that works as a substitute for npm, the native nodejs package manager. yarn includes many improved functionality, but is no must-have. You can also install all dependencies without yarn and use npm instead. All possibilities will be listed below.
Starting the watch script with yarn:
yarn start
# equivalent to
npm run start
gulp watchFinally it will always start the gulp task watch. Inside the package.json there is a section with defined scripts to run.
Compile all Markdown(.md) files to PDF:
yarn pdf
# equivalent to
npm run pdf
gulp pdfFor a perfect usage, I recommend atom for developement with a
Yeah, it is GPL v2.0. Feel free to use that piece to code!
I am Michael Czechowski (www.dailysh.it) web developer from Stuttgart in the deep southern part of Germany. Do not hesitate to contact me: [email protected]
