Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Readme about pandoc.path option

  • Loading branch information...
commit a4e13d615df60378148b3431c0c434576a4121ad 1 parent d6ffcce
@alekseykulikov authored
Showing with 11 additions and 0 deletions.
  1. +11 −0
@@ -48,6 +48,17 @@ pandoc(src, from, to[, options], callback);
arguments `(err, result)`, where `err` is an error or `null` and `result` is
a string containing the converted text.
+By default, it uses pandoc command installed to your system.
+To use custom runner change `pandoc.path`.
+var join = require('path').join;
+var pandoc = require('pdc');
+pandoc.path = join(process.env.HOME, '.cabal/bin/pandoc');
+pandoc('# Heading', 'markdown', 'html');
## Bugs and Issues
If you encounter any bugs or issues, feel free to open an issue at
Please sign in to comment.
Something went wrong with that request. Please try again.