Skip to content

Commit

Permalink
fix(index): add description for directives option
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Aug 13, 2020
1 parent 037a480 commit 216cd18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ PostHTML.prototype.process = function (tree, options) {
* @prop {?Function} options.parser - use custom parser, replaces default (posthtml-parser)
* @prop {?Function} options.render - use custom render, replaces default (posthtml-render)
* @prop {?Boolean} options.skipParse - disable parsing
* @prop {?Array} options.directives - Adds processing of custom [directives](https://github.com/posthtml/posthtml-parser#directives).
*/
options = this.options = options || {}
this.source = tree
Expand Down

0 comments on commit 216cd18

Please sign in to comment.