gatsby-remark-table-of-contents
gatsby-remark-table-of-contents copied to clipboard
fix wrapping div element
related to #33
Sorry, but I don't know how to update test codes.
I try this code locally and it solves the
problem.
@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