Replace `padding-right` with `padding-inline-end` on badge title and GitHub label.
Fixes text hugging the edge in RTL languages, like Hebrew.
No visual change for LTR.
The :has() selector causes broad selector invalidation on every DOM
change. Using a direct class applied during badge creation is more
performant and avoids community scanner warnings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Badges can now include clickable links with `[!!type:text>>link]` syntax.
Supports both wikilinks (`[[Note]]`) and external URLs.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Enables CSS targeting of specific badge types via data attribute.
Example: .inline-badge-extra[data-badge-type="Path"] { ... }
Closes#16
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Documents that custom syntax requires actual Lucide icon names,
while standard syntax supports both built-in aliases and Lucide names.
Closes#11
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Clarifies that KEY is for aria-label only, not displayed visually.
Shows workaround for displaying a label in the VAL text.
Addresses #12
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Closes#13 - Allow `[!!success]` instead of `[!!success:Success]` for
built-in types. The display text auto-populates from BADGE_TYPES.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fall back to using badge type directly as icon name when not in BADGE_TYPES
- Update tsconfig lib to ES2020 for matchAll support
- Document Lucide icon support in README
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fixes#17 - Custom badges with | separators now work inside table cells
by using \| escape sequences.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use npm with legacy-peer-deps for peer dep conflicts
- Use ^6.0.0 for @codemirror/state and @codemirror/view
- Remove pnpm lockfile and workspace config
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>