Markdown Add Heading Numbers
Automatically add hierarchical numbering to Markdown headings. Supports multi-level numbering like 1, 1.1, 1.1.1 and skips fenced code blocks.
Sử dụng Markdown Add Heading Numbers
Thêm số thứ tự cho tiêu đề trong Markdown
Thêm hệ thống đánh số phân cấp rõ ràng vào các tiêu đề ATX trong Markdown, đồng thời bỏ qua các khối mã được bao quanh bởi dấu ngoặc vuông.
Nhập Markdown
Xuất ra định dạng Markdown
Đọc nội dung
The Markdown Add Heading Numbers tool automatically inserts hierarchical numbering into all ATX headings (# to ######) in your Markdown document, while leaving fenced code blocks untouched. Existing heading numbers are replaced with fresh counters.
Why Use This Tool?
Numbered headings improve document structure and readability, especially in technical documentation, tutorials, and long-form content where cross-referencing sections is common. Hand-numbering nested headings is tedious and breaks whenever you reorder sections.
How It Works
- Paste your Markdown content into the input editor, or use the Paste button to pull from clipboard.
- Click Add Numbers to scan all ATX headings and insert hierarchical numbers.
- The tool counts detected headings, skips fenced code blocks, and replaces any existing numbers.
- Copy the numbered output from the output panel, or download it as a .md file.
Key Features
- Hierarchical numbering (1, 1.1, 1.1.1) for H1 through H6
- Skips fenced code blocks (``` and ~~~) so sample code stays untouched
- Replaces any existing heading numbers with fresh counters
- Live counters for detected headings and numbered headings
- Copy input, copy output, paste, clear, and download as .md
Bình luận (0)
Hãy mô tả vấn đề mà bạn gặp phải để chúng tôi có thể tìm hiểu và cải thiện công cụ này.