Skip to content

Render inline code references as HTML - #37

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
linked-code-markup
Aug 20, 2026
Merged

Render inline code references as HTML#37
samuel-williams-shopify merged 1 commit into
mainfrom
linked-code-markup

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • resolve both language-prefixed inline code and legacy brace references through one HTML-node builder
  • use XRB to safely construct <code><a>…</a></code> markup for resolved references
  • remove recursive code-node rendering and its recursion guard
  • prevent invalid nested anchors when rendering legacy references
  • document the change under Unreleased

Validation

  • bundle exec bake test (24 tests, 61 assertions)
  • bundle exec rubocop
  • bundle exec bake decode:index:coverage lib (96/96 documented)
  • git diff --check

@samuel-williams-shopify samuel-williams-shopify changed the title Render links inside inline code Highlight linked inline code Aug 20, 2026
@samuel-williams-shopify samuel-williams-shopify changed the title Highlight linked inline code Render inline code references as HTML Aug 20, 2026
@samuel-williams-shopify
samuel-williams-shopify merged commit 8e1b67a into main Aug 20, 2026
18 of 20 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the linked-code-markup branch August 20, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant