syntax-tree/mdast-util-toc

Using existing id, if one exists

Hypercubed opened this issue · 0 comments

Similar to remarkjs/remark-slug#10 it would be nice if mdast-util-toc used the existing id as a slug, if it exists.

I'm willing to do a PR if interested.