Run your current file through Pandoc and preview the output within Atom.
Pandoc Preview: Showwill run the current buffer through Pandoc and show it in a new pane.
There are three config settings:
pandoc.cmdwhich is the pandoc executable. This needs to be on your
pandoc.argswhich are the command-line arguments to pandoc, defaults to
-s -S --self-contained.
pandoc.languages, a map of Atom grammar names to Pandoc input formats.
To find the
pandoc executable, ideally Atom should be able to find it on your
PATH. Unfortunately, environment variables are a bit of an issue with GUI applications on OS X. Google it or see Setting Environment Variables in OS X?.
atom command, you need to make sure Atom is loaded via env (in some older versions of Atom it is not).
vim `which atom`
If you can find the following, you are fine:
open -a "$ATOM_PATH/$ATOM_APP_NAME" -n --args --executed-from="$(pwd)" --pid=$$ --path-environment="$PATH" "$@"
If you see the following instead:
open -a $ATOM_PATH -n --args --executed-from="$(pwd)" --pid=$$ $@
Change it to:
env open -a $ATOM_PATH -n --args --executed-from="$(pwd)" --pid=$$ $@
Now Atom will have access to
PATH, and can find your
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.