Closed AzazelN28 closed 9 years ago
I added some mocha test. arguments name should be kept consistent with asciidoctor.js ,so i choose base_dir and header_footer.
Yep. That's true. Could we maintain both naming options? What do you think?
I think it's better to keep it as simple as possible., base_dir is ok ,baseDir is not needed. Though I am a javaer, like baseDir more.
FYI, I've updated v 1.0.6 coming with more test cases, more readme.
Cool! updating
Added "options = options || {}" to avoid "undefined" errors when you don't pass arguments to gulp-asciidoctor and changed some option names to be more correct (base_dir to baseDir and header_footer to headerFooter).