vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.29k stars 3.79k forks source link

chore(deps): update dependency markdown-it-table-of-contents to ^0.8.0 #7908

Open renovate[bot] opened 2 weeks ago

renovate[bot] commented 2 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
markdown-it-table-of-contents ^0.5.2 -> ^0.8.0 age adoption passing confidence

Release Notes

cmaas/markdown-it-table-of-contents (markdown-it-table-of-contents) ### [`v0.8.0`](https://redirect.github.com/cmaas/markdown-it-table-of-contents/blob/HEAD/CHANGELOG.md#080---2024-09-10) [Compare Source](https://redirect.github.com/cmaas/markdown-it-table-of-contents/compare/v0.7.0...v0.8.0) - **Added:** Option `getTokensText` to override how text is extracted from tokens to build headlines and slugs (fixes [#​61](https://redirect.github.com/cmaas/markdown-it-table-of-contents/issues/61)), similar to the function in [markdown-it-anchor](https://www.npmjs.com/package/markdown-it-anchor). *** ### [`v0.7.0`](https://redirect.github.com/cmaas/markdown-it-table-of-contents/blob/HEAD/CHANGELOG.md#070---2024-09-09) [Compare Source](https://redirect.github.com/cmaas/markdown-it-table-of-contents/compare/v0.6.0...v0.7.0) - **Added:** Override the container element - ⚠️ **BREAKING CHANGE:** The plugin moved from *inline mode* to *block mode* (fixes [#​62](https://redirect.github.com/cmaas/markdown-it-table-of-contents/issues/62)) - **Changed:** Updated tests, readme etc. - **Removed:** Old forceFullToc attribute *** ### [`v0.6.0`](https://redirect.github.com/cmaas/markdown-it-table-of-contents/blob/HEAD/CHANGELOG.md#060---2021-11-12) [Compare Source](https://redirect.github.com/cmaas/markdown-it-table-of-contents/compare/v0.5.2...v0.6.0) The TOC generator was rewritten, because the old *on-the-fly* generator couldn't deal with unexpected order of headings and double-indentations. It is now a three-step process: 1. Gather all headings in a list. 2. Turn that list into a nested tree. 3. Generate HTML code based on the nested tree. Although all tests pass, this release could introduce some **breaking changes** for you, if you relied on the old way of doing things. Check the test cases to get a better understanding how this plugin handles various cases. - **Added**: Support for `markdown-it-attrs` (fixes [#​54](https://redirect.github.com/cmaas/markdown-it-table-of-contents/issues/54)) - **Changed**: Respects unexpected nesting order (fixes [#​55](https://redirect.github.com/cmaas/markdown-it-table-of-contents/issues/55)) - **Changed**: Uses anchor targets from existing id attributes (for example, set by `markdown-it-attrs` or `markdown-it-anchor`) - **Changed**: Now nests list correctly if there is a jump (for example: h2, h2, h4 -> h4 is now double-indented) - **Removed**: unused tests

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.