Skip to content

How can I make anchor headings generate for only h1-h6 #40

Answered by allejo
Skrillx13 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes! There is the h_min and h_max arguments you can use. Set the minimum to 2 and the max to 6 or omit and it'll default to 6.

e.g.,

{% include anchor_headings.html h_min=2 %}

Replies: 1 comment 1 reply

Comment options

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

Answer selected by allejo
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