kraxen7216k downloadsSmart suggestions when typing emoji shortcodes & more! :star:
Easily insert emoji by their shortcodes
✨ This plugin was featured on Obsidian Addict, in several articles - Thank you!
shuffle will find 🔀 (twisted_rightwards_arrow)Example
:joy: will become 😂 :heart: will become ❤git clone it into <your vault>/.obsidian/pluginsnpm i or pnpm i (ideal)npm run dev or pnpm dev (ideal)For a one-off development build, run pnpm build:dev. Both development commands
copy the plugin into /mnt/c/Blackhole (WSL) or /media/win/#blackhole (Linux),
when that vault exists. Set OBSIDIAN_VAULT=/path/to/vault to use another vault,
or OBSIDIAN_VAULT='' to build without copying. Reload Emoji Autocomplete in
Obsidian after building, or use the Hot Reload plugin with pnpm dev.
Run pnpm review, then open reports/obsidian-review.html for the official
Obsidian ESLint checks.
All enabled rules are warnings. The review runs separately from tests and builds,
and installs no commit hooks. Editor ESLint integrations also show these warnings.
On GitHub, open the Obsidian advisory review workflow's Summary for findings linked to source lines. The HTML report is also available as a workflow artifact. The job allows failures and is not a dependency of the test or release workflows. Some warnings need judgment, particularly sentence-case suggestions for code examples. This is a source review; the community directory also checks releases and CSS separately.
New releases contain only main.js, manifest.json, and styles.css.
The release workflow attempts to attest all three files; an attestation service failure
is reported without blocking publication. Existing releases are not changed automatically.
If you find this Plugin helpful, consider it's further development or just say a small thank you
Creator of Emoji Autocomplete and all the features on top of Emoji Shortcodes
Creator of Emoji Shortcodes, the plugin Emoji Autocomplete was initially based on
Thanks to @claremacrae for rigorous testing of this plugin, which led to a significant performance improvements. libraries / packages that were used but modified or otherwise embedded (not in package.json)
is-emoji-supported modified the canvas with willReadFrequently: true and custom cache handlingcountry-flag-emoji-polyfill took the font and wrote custom applying logiclucide icon pack and icones.js.org for several nice svg iconsEmoji shortcodes has an issue where it slows down the Tasks and Dataview plugins by a huge amount.
(You can check the progress on the issue in in this issue)
credit: @claremacrae 03/2024
Shortcode rendering uses textContent to avoid forced layout, indexed emoji lookups, and one pass through the DOM. Unchanged text nodes are left untouched. Run pnpm test to check these performance safeguards, cached font detection, and the suggestion result limit; release builds run these tests too.
Twemoji Windows provides a font with fixes for keycaps and combined emoji in Windows/Chromium apps. Install the TTF from its latest release, add Twemoji Windows after your text font in Obsidian, then use Clear & Re-check in this plugin's settings.