signalwerk / gatsby-remark-table-of-contents

gatsby remark plugin to generate table of contents
21 stars 10 forks source link

fix wrapping div element #39

Open ricale opened 1 year ago

ricale commented 1 year ago

related to #33

Sorry, but I don't know how to update test codes.

longkluong commented 1 year ago

I try this code locally and it solves the

problem.

fgerschau commented 1 year ago

@ricale thanks, I hope this gets merged soon. I couldn't figure out how to fix the tests, but I published your patch as a new npm package to use in the meantime.

https://www.npmjs.com/package/gatsby-remark-table-of-contents-patch