Permalink
Browse files

Fix spelling

  • Loading branch information...
pvorb committed Apr 24, 2012
1 parent a793fef commit c4d26937dfb8586a7f9e81676ad64b764d5e93c8
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.mkd
  2. +2 −2 pandoc.js
View
@@ -9,7 +9,7 @@ npm install pdc
```
This package requires [pandoc](http://johnmacfarlane.net/pandoc/) to be
-installed and to be in PATH.
+installed and to be in `PATH`.
## Usage
@@ -56,7 +56,7 @@ If you encounter any bugs or issues, feel free to open an issue at
## Credits
I’d like to thank [John MacFarlane](http://johnmacfarlane.net/) for creating
-such a great tool, that adds so many possibilities to Markdown, and of course
+such a great tool -- It adds so many possibilities to Markdown -- and of course
[John Gruber](http://daringfireball.net/) for creating Markdown itself.
## License
View
@@ -2,7 +2,7 @@ var spawn = require('child_process').spawn;
module.exports = pdc;
-// pdc(src,
+// pdc(src, from, to[, opt], cb)
function pdc(src, from, to, opt, cb) {
if (typeof cb == 'undefined')
cb = opt;
@@ -26,7 +26,7 @@ function pdc(src, from, to, opt, cb) {
pandoc.on('exit', function (code) {
if (code != 0)
- return cb(new Error('pandoc exitet with code '+code+'.'));
+ return cb(new Error('pandoc exited with code '+code+'.'));
if (error)
return cb(new Error(error));

0 comments on commit c4d2693

Please sign in to comment.