cbou / markdox

Markdox is a documentation generator based on Dox and Markdown. It parse Javascript and even Coffeescript.
http://cbou.github.com/markdox
230 stars 27 forks source link

Pass options object to the parse function to allow overriding of 'compiler' option #8

Closed jaimedp closed 10 years ago

jaimedp commented 10 years ago

Great library!

It seems that the compiler option is not being used in markdown.js so there's no way to override the default compiler as the docs say.

This fix passes the options object down into the parse function and then uses the options.compiler to process the data.

cbou commented 10 years ago

Thanks :)