Merge pull request #279 from timlrx/fix/toc-code-headings
fix: parse inline code headings to string
This commit is contained in:
commit
00059a8e7f
@ -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) =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user