markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

json ignores options (like excluding firsth1)

Open penge opened this issue 6 years ago • 1 comments

res.content is fine, res.json stays the same regardless the options.

As a result:

  • firsth1 is not excluded from the res.json
  • maxdepth is not taken into account in res.json

Issue is located in index.js in the generate(options) function.

penge avatar Apr 23 '19 12:04 penge

@jonschlinkert any idea why?

adamsoffer avatar Aug 22 '20 20:08 adamsoffer