String Utilities ツールの更新 2ヶ月前

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.

いつでも無料 使いやすい 即座に結果が出る 非公開で安全

使用方法 Markdown Add Heading Numbers

Markdownで見出し番号を追加する

フェンスで囲まれたコードブロックをスキップしつつ、MarkdownのATX見出しに整然とした階層的な番号付けを追加します。

Markdownを入力してください

見出し付きのMarkdownを貼り付ける
# から ###### までに対応しています。既存の見出し番号は置き換えられます。フェンスで囲まれたコードブロックはスキップされます。
まだ番号が振られていません
番号付けの状況
0番
見出しに番号を付ける

Markdownを出力

番号付き見出しを含むマークダウン
番号付けのコツ
見出しレベルごとに番号付けが自動的にリセットされます。例:# 1## 1.1### 1.1.1
ツールリンク
クリップボードにコピーされました。
このツールの改善にご協力ください

コンテンツを読む

このツールの仕組みと、いつ使用すべきかについて学びましょう。

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

コメント (0)

ユーザー間の議論、例外的なケース、および追加のヒントについて。
コメントを残す
コメントを送信すると、公開されます。
まだコメントはありません。ぜひ最初のコメントを投稿してください!
ぜひお知らせください!
このツールに関する問題を報告する

発生した問題について詳しくご説明ください。調査を行い、ツールの改善に役立てたいと思います。

最も役立つのは
入力内容、期待される結果、実際の結果、使用しているブラウザや端末、および必要に応じてスクリーンショットを記載してください。
スクリーンショットボタンをクリックすると、ブラウザ上のページがキャプチャされ、生成された画像がこのフォームに添付されます。
全画面のスクリーンショット
newistyを使って、お使いのブラウザでキャプチャしました。
まだスクリーンショットは撮影されていません。
ツール レポート