Skip to content

feat: add GFM emoji shortcode support - #30

Merged
geopanther merged 2 commits into
mainfrom
feature/gfm-emoji
May 8, 2026
Merged

feat: add GFM emoji shortcode support#30
geopanther merged 2 commits into
mainfrom
feature/gfm-emoji

Conversation

@geopanther

Copy link
Copy Markdown
Owner

Add opt-in emoji plugin converting :shortcode: syntax to Unicode characters using GitHub-compatible mappings (1913 shortcodes).

Changes

  • New --enable-emoji CLI flag (off by default)
  • Custom Mistune inline plugin with shortcode pattern
  • Unknown shortcodes pass through unchanged
  • Emoji not processed inside code spans/blocks
  • Generated emoji_data.py from GitHub API
  • 145 tests passing

geopanther added 2 commits May 8, 2026 13:24
Add opt-in emoji plugin that converts :shortcode: syntax to Unicode
characters using GitHub-compatible mappings (1913 shortcodes).

- New --enable-emoji CLI flag (off by default)
- Custom Mistune inline plugin with shortcode pattern
- Unknown shortcodes pass through unchanged
- Emoji not processed inside code spans/blocks
- Generated emoji_data.py from GitHub API
@geopanther
geopanther force-pushed the feature/gfm-emoji branch from ad0872d to f28aa2d Compare May 8, 2026 11:29
@geopanther
geopanther merged commit 24189d8 into main May 8, 2026
5 checks passed
@geopanther
geopanther deleted the feature/gfm-emoji branch May 13, 2026 09:27
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