chore(deps): migrate the markdown renderer to goldmark v2 #75
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/74-goldmark-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #74
The details pane now parses markdown with goldmark v2. What you see in the pane is unchanged. Renovate's PR #73 only added the v2 module next to v1, because v2 is a new module path with a redesigned syntax tree, so the renderer had to be ported by hand. v1 is removed from go.mod.
What changed
internal/ui/markdown): bold and italic are separate node types, tight and loose lists come from the list itself, task boxes come from the list item, fenced and indented code are one node type, and tables split into header and body. v2 decodes escapes and entities itself, so the manual decode on inline text is gone (it stays for raw HTML blocks).Verification
make check:0 issues., every Go packageokunder-race,No vulnerabilities found., binary builds. The ShellCheck step could not run locally (not installed); this diff has no shell changes and CI runs it.Review
Three fresh-context reviews.
plaincomment is wrong because it never decodes. It does decode (Value(src)), so it was dismissed, and the comment now states the decode and clean order.Docs
ADR 0014 updated.
architecture.mdanddesign.mdneed nothing: the package boundary and the product behavior are unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01PmoSSUtaPYn8npGgDRRZrR