rust-unofficial / awesome-rust

A curated list of Rust code and resources.
Creative Commons Zero v1.0 Universal
47.35k stars 2.78k forks source link

Replace node toc lint with a Rust one #1328

Open palfrey opened 2 years ago

palfrey commented 2 years ago

Steps:

  1. Fix https://github.com/pbzweihander/markdown-toc/issues/2 and possibly other things there so it can replace ToC blocks in markdown
  2. Replace lint-markdown-toc with the Rust markdown-toc
neuodev commented 2 years ago

@palfrey I checked the code base the --inline and replace options are disabled on purpose

neuodev commented 2 years ago

I added the support to --inline and --replace in this https://github.com/pbzweihander/markdown-toc/pull/11 according to the specification

neuodev commented 2 years ago

The fix got merged!

palfrey commented 2 years ago

There still appears to be various issues with it that make it currently unusable for this repo: