TOC With No 1st Level Heading is Output as Code
まだ誰も着手していません。
評価
調査の方向性
Reproduce the issue with the provided Markdown containing only ## Foo and ### Bar, then trace the TOC generation entry point that formats the output. Done means the generated Table of Contents is not indented as a code block when the source has no H1; the linked Go issue may provide a comparison.
索引モデルが issue の本文から書いたものです。
説明
Given:
## Foo
### Bar
The following is output:
Table of Contents
=================
* [Foo](#foo)
* [Bar](#bar)
Given the leading space, the TOC is code formatted. This is because my document has no H1.
In this case the documents are on GitHub's wiki, so the H1 is supplied by them.
- 主要言語
- Shell
- スター
- 3.3k
- フォーク
- 2.7k
- 平均マージ
- 7分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ekalinin/github-markdown-toc のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ekalinin/github-markdown-toc#167 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ekalinin/github-markdown-toc#165 ·
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optionalオープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
ekalinin/github-markdown-toc#153 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ekalinin/github-markdown-toc#152 · リアクション 1 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ekalinin/github-markdown-toc#141 ·
ekalinin/github-markdown-toc の issue をすべて見る
似ている issue
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
oSoWoSo/vOid_Community_repOsitory#203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
alunduil/alunduil-chezmoi#809 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
catppuccin/kde#152 ·