Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/dict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,31 @@ export const dict = [
// For api-extractor
'API Report File',
'App Router',
'Arch Linux',
'Babel',
'Baseline',
'Claude Code',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Scope multiword matches to the current occurrence

When a heading contains Claude Code, isTerm treats every Code token on that line as protected because it only checks whether the complete term occurs anywhere in the line. Consequently, formatLine('# Claude Code and Writing Code') produces # Claude Code and writing Code instead of lowercasing the unrelated final word. Adding this entry therefore regresses headings that mention the product alongside generic code; multiword-term matching should be tied to the current token occurrence.

Useful? React with 👍 / 👎.

'Create React App',
'Cloudflare Pages',
'Cloudflare Workers',
'CSS Modules',
'Codex',
'Coding Agent',
'Coding Agents',
'Debian',
'Docusaurus',
'Docusaurus Faster',
'EJS',
'Emotion',
'Fast Refresh',
'Git',
'GitHub Actions',
'GitHub Copilot',
'GitHub Pages',
'I',
'Jest',
'Lightning CSS',
'Linux',
'Lynx',
'Module Federation',
'Nextra',
Expand Down