Skip to content

Use SKIP for multiple headings #1296

Answered by ChristianMurphy
djmtype asked this question in Q&A
Discussion options

You must be logged in to vote

Welcome @djmtype! 👋
I'd highly recommend reading the readme https://github.com/remarkjs/remark-toc?tab=readme-ov-file#options
Skip is not a string, it is a regular expression, you can add as many strings as you'd like separated by the pipe character.

skip: 'Fruit|Vegetables|HABA'

You can learn more about regular expressions here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@djmtype
Comment options

Answer selected by djmtype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants