3 ms·
pretty cool. I'm using a similar setup that allows a real-time preview of every change by means of the `entr`[1] command and gets triggered by saving the markdo
by DyslexicAtheist 7y ago
pretty cool. I'm using a similar setup that allows a real-time preview of every change by means of the `entr`[1] command and gets triggered by saving the markdown.
ls ./presentation.md |entr -c bash -c "pandoc --pdf-engine=xelatex --toc -N presentation.md -t beamer -o presentation.pdf; killall -HUP mupdf"
this would reload the pipeline and update the content of the pdf output. easy as 1-2-3 (no Makefile though which would be another step).
[1] https://www.systutorials.com/docs/linux/man/1-entr/ https://www.systutorials.com/docs/linux/man/1-entr/