This is my setup for rich scholarly markdown.
Most of the templates and scripts are developed or inspired by others. I've only made minor changes to tailor the style to my own preferences.
sudo apt-get install texlive-full
cp -r templates ~/.pandoc/.
cp -r csl ~/.pandoc/.
cp -r css ~/.pandoc/.
pandoc -v
and download the respective crossref release version. In the pandoc commands, point to the right location on your computer with the filter flag --filter yourPath/pandoc-crossref
make
to build the .docx .tex .pdf files from template.md
make clean
to clean the directory--template=/home/name/.pandoc/templates/html.template, --filter=/home/name/.pandoc/filters/pandoc-crossref, --filter=pandoc-citeproc, --bibliography=/path/libraryName.bib,--csl=/home/name/.pandoc/csl/apsa.csl
markdown+simple_tables+table_captions+yaml_metadata_block
find ~/.atom/packages -name "*octocat-spinner*"
and remove all the files related to markdown-preview-enhancedfind ~/.atom/packages -name "*octocat-spinner*" | xargs rm
I've got most of the material from Kieran Healy's setup:
Changes: