Remote file: first heading is replaced with GitHub page HTML
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
Start by reproducing the command against the GitHub README URLs in the issue and trace the remote README handling, including the commented-out “TOC for remote README.md” test. Done means the first heading produces a normal heading anchor and the existing entries remain correct, while wiki-page behavior is unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Steps
./gh-md-toc https://github.com/ekalinin/github-markdown-toc/blob/master/README.md
Expected
* [gh-md-toc](#gh-md-toc)
* [Table of contents](#table-of-contents)
...
Actual
The first entry contains GitHub page markup instead of the heading:
* [<button data-component="Button" type="button" aria-label="Expand file tree" ...
* [Table of contents](#table-of-contents)
...
The line is about 30 KB long, its href points to the repository tree URL
(/<owner>/<repo>/tree/<sha>) instead of the heading anchor, and it is indented
as a second-level entry. The other entries are correct.
Reproduced with gh-md-toc 0.10.0. The same happens for
https://github.com/ekalinin/sitemap.js/blob/6bc3eb12c898c1037a35a11b2eb24ababdeb3580/README.md
(the URL from the commented-out "TOC for remote README.md" test).
Wiki pages, e.g. https://github.com/ekalinin/nodeenv/wiki/Who-Uses-Nodeenv, are not affected.
- Lingua principale
- Shell
- Stelle
- 3.3k
- Fork
- 2.7k
- Merge medio
- 19m
- PR unite (30g)
- 8
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
-
Update bats version in CIAperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
ekalinin/github-markdown-toc#176 ·
I maintainer di solito rispondono entro 1 giorno
-
Update outdated examples and versions in READMEForse già presa @SatvikMishra08 l’ha presa 8 giorni fa. Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ekalinin/github-markdown-toc#165 ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature] `--no-code-tag-removal` flag allowing to make removal of backticks in TOC entries optionalForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
ekalinin/github-markdown-toc#153 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ekalinin/github-markdown-toc#152 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ekalinin/github-markdown-toc#141 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ekalinin/github-markdown-toc
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pnpm/pnpm#16635 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/tests theme/ci-dx
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: e2e script flag parsing is brokenForse già presa @ericcurtin l’ha presa oggi. Apertaarea/dev-infra area/tests kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
agent-substrate/substrate#2217 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Update "Making Changes to an Existing Competition" section in Delegate Handbook to align with WCRPAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
thewca/wca-documents#613 ·