@fedify/markdown-it-mention@0.3.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
A markdown-it plugin that parses and renders Mastodon-style @mentions
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
9 months ago (0.3.0)
<!-- deno-fmt-ignore-file --> Changelog ========= Version 0.3.0 ------------- Released on March 11, 2025. - Added `PluginOptions.localDomain` option to determine the domain of bare handles. Version 0.2.0 ------------- Released on December 16, 2024. - `PluginOptions.link()` became to have the second parameter which takes a markdown-it environment object. - `PluginOptions.linkAttributes()` became to have the second parameter which takes a markdown-it environment object. - `PluginOptions.label()` became to have the second parameter which takes a markdown-it environment object. Version 0.1.1 ------------- Released on May 9, 2024. - Fixed a bug where the mention syntax followed by a space and words had been recognized as a mention with the following words. Version 0.1.0 ------------- Released on May 9, 2024. Initial release.