@cube-drone/marquee-emoji
v0.4.0
Published
The standard emoji shortcode table (gemoji, repackaged) for Marquee's :shortcode: resolution
Readme
@cube-drone/marquee-emoji
The standard emoji shortcode table, made installable. The Marquee spec deliberately refuses to own the contested 3,000-entry shortcode table — it says implementations should reference the standard one. This package is that reference:
standardEmoji— gemoji's slug → character data, repackaged verbatim (1,900+ shortcodes::sparkles:→ ✨,:+1:→ 👍). Regenerated from upstream withnpm run fetch-standard; the data is MIT (seeGEMOJI-LICENSE).
@cube-drone/marquee-markup loads it implicitly, so shortcodes just work there. Wiring it
into a renderer profile yourself:
import { standardEmoji } from "@cube-drone/marquee-emoji";
const profile = {
...bareWebProfile,
emoji: (slug) => standardEmoji[slug] ?? null,
};Custom image emoji belong to the embedder's own table, layered on top — every value in this one is a plain unicode character. Dependency-free on purpose: the table is a plain record, usable by any embedder — or any project — without pulling in a parser or renderer.
