Markdown: code in callouts, link labels and double-backtick spans renders with its backticks showing
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- typescript
Direzione di ricerca
The report says annotate and Inbox use InlineMarkdown and a block parser; start by locating those entry points and reproducing with the Markdown sample in the issue. Compare parsing of double-backtick spans, link labels, and fences inside callouts with plain blockquotes. The issue says a fix is in PR #2719, so review that change and verify each expected rendering before taking further work.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
Code inside some other Markdown constructs renders with its backticks showing instead of as code. Seen in annotate and in Inbox messages; plan review and code review render through the same InlineMarkdown and block parser:
- A code span holding a backtick.
`` git log --format=`%h` ``shows its backtick runs: only single-backtick spans are recognized. - Code in a link's label.
[`README.md`](…)and[the `card --help` page](…)show the backticks inside the link: a link's label is drawn as raw text. - A fence inside a GitHub callout. A fenced block inside
> [!NOTE](directly, or under a list item) renders as one line of inline code with stray backticks. The same fence in a plain>quote renders correctly.
To reproduce, annotate this file (plannotator annotate code-in-blocks.md):
# Code inside other Markdown
## Code span holding a backtick
Run `` git log --format=`%h` `` to list short hashes.
## Code in a link's label
- See [`README.md`](https://example.com/readme) for setup.
- Open [the `card --help` page](https://example.com/help).
## Fence inside a callout
> [!NOTE]
> Run this first:
>
> ```bash
> plannotator update --check
> ```
## Fence under a list item, inside a callout
> [!TIP]
> - Install the tools:
>
> ```bash
> bun install
> ```
## Fence inside a plain quote (already works)
> Run this first:
>
> ```bash
> plannotator update --check
> ```
Expected: each construct renders as GitHub renders it: the code span with its inner backtick, code inside the link, and the fence as a code block inside the callout.
A fix is in #2719. Fenced blocks opened with ~~~ are not recognized either; that is a separate change, so it is not part of this report.
Plannotator version
plannotator 0.28.50
OS
macOS
Agent
Claude Code
Where did it happen?
Annotate, Inbox
Browser
Chrome 156
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 649
- Merge medio
- 8h 40m
- PR unite (30g)
- 786
Preparare l'ambiente
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 backnotprop/plannotator
-
[UI Bug] Plannotator vertical spacing changes when expanding a file diffForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
backnotprop/plannotator#2713 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
backnotprop/plannotator#2643 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
backnotprop/plannotator#2290 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
backnotprop/plannotator#2243 · 2 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Annotate documentation omits per-file version history and privacy controlsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
backnotprop/plannotator#1086 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di backnotprop/plannotator
Issue simili
-
Add: ESP 2 ROApertaapproved check:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
ipaas: Configure form shows "Deploy to apply." and "Overrides selected Link" when they don't applyForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
wso2/integration-control-plane#1118 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
UTDNebula/utd-notebook#311 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno