TOC With No 1st Level Heading is Output as Code
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 40/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Shell
- Étoiles
- 3.3k
- Forks
- 2.7k
- Merge moyen
- 7 min
- PR mergées (30 j)
- 3
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ekalinin/github-markdown-toc
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
ekalinin/github-markdown-toc#167 ·
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
ekalinin/github-markdown-toc#165 ·
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optionalOuverteenhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 58/100
ekalinin/github-markdown-toc#153 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
ekalinin/github-markdown-toc#152 · 1 réaction ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
ekalinin/github-markdown-toc#141 ·
Toutes les issues de ekalinin/github-markdown-toc
Issues similaires
-
🎙️ task - fix(deployer): deploy --env prep runs deploy:dev where the repo declares deploy:prepOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
backlog bug
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
WLAN-Pi/wlanpi-profiler#306 ·
Les mainteneurs répondent en général sous 1 jour
-
area: backend good first issue priority: P3 - low size: S type: bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Mizithra/ActiveTerrain#31 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
obra/superpowers#2422 ·
Les mainteneurs répondent en général sous 6 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
ComplianceAsCode/content#15152 ·
Les mainteneurs répondent en général sous 3 jours