Closed brophdawg11 closed 3 years ago
Add support for auto-update in .mdx files used in Storybook: https://storybook.js.org/docs/react/api/mdx
.mdx
Medium - you can add TOC's but they don't auto-update on save so they get out of sync
I think it's as easy as updating https://github.com/naokazuterada/MarkdownTOC/blob/master/markdowntoc/autorunner.py#L10, but I'm not sure how to test locally
@brophdawg11 Sorry for late reply and reaction. Now it released as 4.1.2, please check!
Purpose
Add support for auto-update in
.mdx
files used in Storybook: https://storybook.js.org/docs/react/api/mdxHow important it is
Medium - you can add TOC's but they don't auto-update on save so they get out of sync
Ideal implementation
I think it's as easy as updating https://github.com/naokazuterada/MarkdownTOC/blob/master/markdowntoc/autorunner.py#L10, but I'm not sure how to test locally