镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Write Unicode Arrows → by shortcuts #4625

Closed

Description

@reox

Is your feature request related to a problem? Please describe.

Some texteditors create unicode arrows when certain characters are written. For example -> creates →.
Especially for deck, which uses the text editor, it would be a great enhancement, as I often use arrows to quickly describe things.

Describe the solution you'd like
Some combinations of characters should automatically be converted into unicode arrows, for example:

ASCII Unicode
-> →
<- ←
<-> ↔
=> ⇒
<= ⇐
<=> ⇔
--> ⟶
<-- ⟵
<--> ⟷

Of course, there are many more, see https://en.wikipedia.org/wiki/Arrows_(Unicode_block) and https://en.wikipedia.org/wiki/Supplemental_Arrows-A - but not all of them are useful and/or can easily be detected in ASCII.

Describe alternatives you've considered
Some soft-keyboards allow to insert unicode symbols.

The Emoji picker has several arrows (:arrow_* ), however these are the Emoji styles, where I would like the base variants.

Additional context
The Emoji insertion could be used, for example when a colon is typed, the emoji picker pops up. It could be used as well, either by providing names for these arrows or by adding the ascii sequences.

Activity

  1. juliusknorr commented on Aug 6, 2023

    @juliusknorr
    Member

    I think this is a nice suggestion.

    https://tiptap.dev/api/extensions/typography could be used for that. Maybe there is a way to extend this with more options, otherwise this may need upstream contributions as not all your suggestions are there.

  2. self-assigned this
    on Jul 26, 2025
  3. added 2 commits that reference this issue on Jul 30, 2025
    e3463f6
    69aeb7d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions