Skip to content

feat(markdown): add source-range metadata helper - #6344

Draft
cixzhang wants to merge 1 commit into
feat/markdown-semantic-fencefrom
feat/markdown-source-decoration
Draft

cixzhang wants to merge 1 commit into
feat/markdown-semantic-fencefrom
feat/markdown-source-decoration

Conversation

@cixzhang

@cixzhang cixzhang commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Builder impact

Plugins can attach source-range metadata such as search hits and review annotations to settled Markdown blocks without changing rendering, copyable text, accessible names, heading IDs, focus order, or navigation.

API

createMarkdownSourceDecoration() and getMarkdownSourceDecorations() live under @astryxdesign/core/Markdown/plugins. This PR intentionally records metadata only; CSS Custom Highlights or other visual presentation belongs in a later rendering layer with explicit source-to-DOM mapping.

Validation

  • focused Markdown plugin stack: 72 tests passed
  • Core TypeScript check passed
  • commit hooks and repository checks passed

The required expert reviewer was attempted before upload but is currently unavailable because its shared YAML config fails to load.

@vercel

vercel Bot commented Sep 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Sep 20, 2026 12:19am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 16, 2026
@astracat-bot

astracat-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

AI review status for this pull request.

Review status Updated
📝 Draft — not reviewed automatically (for maintainers only) Sep 18, 2026, 1:34 AM UTC

@cixzhang
cixzhang force-pushed the feat/markdown-source-decoration branch from 37bef72 to eb3b761 Compare September 16, 2026 09:28
@cixzhang
cixzhang force-pushed the feat/markdown-source-decoration branch from eb3b761 to f8a67d4 Compare September 16, 2026 09:57
@cixzhang
cixzhang force-pushed the feat/markdown-source-decoration branch from f8a67d4 to fe48637 Compare September 16, 2026 10:28
@cixzhang
cixzhang force-pushed the feat/markdown-semantic-fence branch 3 times, most recently from 25eae1b to 42385a9 Compare September 16, 2026 11:32
@cixzhang
cixzhang force-pushed the feat/markdown-source-decoration branch from fe48637 to 0eb0aff Compare September 16, 2026 12:42
@cixzhang
cixzhang force-pushed the feat/markdown-semantic-fence branch from 42385a9 to 214a5ed Compare September 19, 2026 22:37
@cixzhang
cixzhang force-pushed the feat/markdown-source-decoration branch from 0eb0aff to 0df8a75 Compare September 19, 2026 22:41
@cixzhang cixzhang changed the title feat(markdown): add source decoration helper feat(markdown): add source-range metadata helper Sep 19, 2026
@cixzhang
cixzhang force-pushed the feat/markdown-semantic-fence branch from 214a5ed to be5c12d Compare September 20, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant