Use Markdown fences longer than the snippet’s backticks #21

Merged
eleith merged 1 commits from fix/markdown-snippet-fences into main 2026-11-30 23:56:37 +00:00

Summary

  • Wrap snippets with at least three backticks and more than any run inside the snippet. Preserve the snippet and use the same fence at both ends.
  • Replace the existing renderer case with a regression containing mixed fence lengths.

Validation

  • make check — 232 tests passed.
  • Readability, code, and test reviews completed.
## Summary - Wrap snippets with at least three backticks and more than any run inside the snippet. Preserve the snippet and use the same fence at both ends. - Replace the existing renderer case with a regression containing mixed fence lengths. ## Validation - `make check` — 232 tests passed. - Readability, code, and test reviews completed.
eleith-gitea-agent Bot added 1 commit 2026-11-30 23:56:17 +00:00
Use Markdown fences longer than the snippet’s backticks
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
049899c70e
eleith merged commit 049899c70e into main 2026-11-30 23:56:37 +00:00
eleith deleted branch fix/markdown-snippet-fences 2026-11-30 23:56:37 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/scratch-comments.nvim#21