upstream #1
@ -34,7 +34,7 @@ const TOCInline = ({
|
|||||||
|
|
||||||
const filteredToc = toc.filter(
|
const filteredToc = toc.filter(
|
||||||
(heading) =>
|
(heading) =>
|
||||||
heading.depth >= fromHeading && heading.depth <= toHeading ** !re.test(heading.value)
|
heading.depth >= fromHeading && heading.depth <= toHeading && !re.test(heading.value)
|
||||||
)
|
)
|
||||||
|
|
||||||
const tocList = (
|
const tocList = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user