fix: parse inline code headings to string

This commit is contained in:
Timothy Lin 2021-11-26 21:34:26 +08:00
parent 40adee4707
commit 75eb350201

View file

@ -1,6 +1,6 @@
import { visit } from 'unist-util-visit'
import { slug } from 'github-slugger'
import { toString } from 'hast-util-to-string'
import { toString } from 'mdast-util-to-string'
export default function remarkTocHeadings(options) {
return (tree) =>