[ BUG ] ":" symbol generates unnecessary hyphen
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- markdown, shell
- Ambito
- documentation, tooling
Direzione di ricerca
Start by tracing the heading-to-anchor generation used by the online tool for the reproduced Markdown headings. Compare the generated anchors with the expected single-hyphen output for headings containing a colon, then verify both examples and confirm that unrelated heading conversion still works.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
The online tool doesn't work with headers like this: "# Chapter 1: Introducing to something". Symbol : is replaced with hyphen, but it should be removed altogether as per explanation.
To Reproduce
# Chapter 1: Introducing
# Chapter 2: The Foundations
Generates:
- [Chapter 1: Introducing](#chapter-1--introducing)
- [Chapter 2: The Foundations](#chapter-2--the-foundations)
Expected behavior
No double hyphen between 1-introducing
- [Chapter 1: Introducing](#chapter-1-introducing)
- [Chapter 2: The Foundations](#chapter-2-the-foundations)
Environment (please complete the following information):
Online tool: https://ecotrust-canada.github.io/markdown-toc/
- Lingua principale
- Shell
- Stelle
- 3.3k
- Fork
- 2.7k
- Merge medio
- 7m
- PR unite (30g)
- 3
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ekalinin/github-markdown-toc
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ekalinin/github-markdown-toc#167 ·
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ekalinin/github-markdown-toc#165 ·
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optionalApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
ekalinin/github-markdown-toc#153 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ekalinin/github-markdown-toc#152 · 1 reazione ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ekalinin/github-markdown-toc#141 ·
Tutte le issue di ekalinin/github-markdown-toc
Issue simili
-
Update cliamp to 2.3.0Apertapackage-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
oSoWoSo/vOid_Community_repOsitory#203 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
alunduil/alunduil-chezmoi#809 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
catppuccin/kde#152 ·