I am reading the following blog on setting up Emacs to use pandoc in such away that C-c C-p will open the document in my browser.
It says:
Restart Emacs, and open a markdown file (for example test.md). Then select Options->Customize Emacs->Specific Option, enter
markdown-command.enter
pandoc -f markdown -t html -s --mathjax --highlight-style=pygmentsin the "Markdown Command" field and select "Apply and save".Then when you are editing your markdown file in Emacs, try C-c C-c p, the generated html will show up in your default browser.
What would be the Elisp entry in .emacs?
I am using Emacs 24.5.
(setq markdown-command "pandoc -f markdown -t html -s --mathjax --highlight-style pygments")?custom-fileyou should see it there, and like @itsjeyd said, just use a setq, or even setq-default in your init.