You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5727cc8
Browse filesBrowse the repository at this point in the historyBrowse files
Validate line highlight ranges in markdown code blocks
Code fence metadata like `{3,7}` can reference lines past the end of the
code block. The site silently ignores those lines, so the line the author
meant to highlight is never highlighted.
Extend lint-markdown-code-blocks to report highlighted lines outside the
code block, using the same pattern as getHighlightLines() in
CodeBlock.tsx, and fix the three existing cases in the cacheSignal
reference and the "Components and Hooks must be pure" page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments