Markdown TOC Generator (Headings પરથી auto)

Markdown headings પરથી Table of Contents આપમેળે બનાવો. Heading levels (જેમ કે H2-H4) પસંદ કરો, પછી editable output copy કરીને તરત paste કરો.

H2-only, anchor modes અને duplicate headings ને કોઈ વધારાની setup વગર સપોર્ટ કરે છે.

તમારો text બ્રાઉઝરમાં સ્થાનિક રહે છે અને ક્યારેય upload થતો નથી.

કેવી રીતે ઉપયોગ કરવો (30 sec)

  1. તમારો Markdown text paste કરો.
  2. Heading levels પસંદ કરો (H2-only / H2-H4 વગેરે).
  3. બનાવેલો TOC copy કરો અને document માં paste કરો.

ઇનપુટ અને આઉટપુટ ઉદાહરણ

Duplicate headings સાથેનું ઉદાહરણ

ઇનપુટ

# Document Title
## Overview
## Usage
### Install
### Settings
## FAQ
## FAQ

આઉટપુટ (H2-H3 / bullet list / TOC heading ON)

## Table of contents

- [Overview](#overview)
- [Usage](#usage)
  - [Install](#install)
  - [Settings](#settings)
- [FAQ](#faq)
- [FAQ](#faq-2)

Specification (anchor અને duplicate rules)

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)

  1. Heading text trim કરો.
  2. Alphabetic letters ને lowercase કરો.
  3. Spaces ને '-' માં બદલો.
  4. '-' સિવાયના symbols દૂર કરો.
  5. એકથી વધારે '--' ને '-' માં સમેટો.
  6. આગળ/પાછળના '-' trim કરો.
  7. Duplicate anchors આવે તો -2, -3 ... ઉમેરો.

TOC link behavior hosting platform અને Markdown viewer પ્રમાણે બદલાઈ શકે છે. જરૂર મુજબ output સંપાદિત કરો.

FAQ

શું હું H2-only TOC બનાવી શકું?

હા. Heading levels માં "H2 only" પસંદ કરો.

Anchor text કેવી રીતે નક્કી થાય છે?

Anchors આ page માં વર્ણવેલા rule પ્રમાણે બને છે. તમે "Custom" પણ પસંદ કરી શકો અથવા output manually edit કરી શકો.

Duplicate headings કેવી રીતે હેન્ડલ થાય છે?

Duplicate headings ને unique રાખવા -2, -3 જેવા suffix મળે છે.

શું ચોક્કસ headings ને TOC માંથી બહાર રાખી શકું?

હા. Advanced settings માં Exclude keywords વાપરો.

શું links વગરનો TOC બનાવી શકું?

હા. Anchor mode માં "No anchors" પસંદ કરો.

નોંધો

  • Anchor behavior Markdown environment મુજબ બદલાય છે.
  • Output editable છે, એટલે તમે renderer મુજબ fine-tune કરી શકો છો.
  • Input text તમારા બ્રાઉઝરમાં સ્થાનિક રીતે પ્રક્રિયા થાય છે.

સંબંધિત સાધનો