typst / typst/codex

Text presentation of emoji

Open
#22 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

multi-character symbols
Dominant language
Rust
Stars
53
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Description

For emoji which have a text presentation form, add a .text symbol property on the emoji member for that emoji for the text presentation form (with Variation Selector-15 added). For instance, emoji.crossmark.text would be ❌︎.

Use Case

I sometimes find myself wanting to use an emoji, for which the emoji module is great, but sometimes I prefer a plain text style. For instance, the ❌ emoji doesn’t have a well-fitting non-emoji character, but it does have a text presentation: ❌︎

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the emoji module and the emoji member definitions, then inspect how symbol properties are represented. Implement the requested text presentation property for applicable emoji with Variation Selector-15, and verify that the example crossmark value and other supported emoji produce the intended text form.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.