Heading extraction rules
- પસંદ કરેલા range માં ATX headings (# થી ####) કાઢે છે.
- Fenced code blocks (``` ... ```) અંદરની lines ને ignore કરે છે.
- Level filter વાપરો (H2 only / H2-H3 / H2-H4 / H1-H4).
- Setext headings (=== / ---) પ્રથમ version માં શામેલ નથી.
Anchor generation rules (tool rule)
- Heading text trim કરો.
- Alphabetic letters ને lowercase કરો.
- Spaces ને '-' માં બદલો.
- '-' સિવાયના symbols દૂર કરો.
- એકથી વધારે '--' ને '-' માં સમેટો.
- આગળ/પાછળના '-' trim કરો.
- Duplicate anchors આવે તો -2, -3 ... ઉમેરો.
TOC link behavior hosting platform અને Markdown viewer પ્રમાણે બદલાઈ શકે છે. જરૂર મુજબ output સંપાદિત કરો.