Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peritext: smart formatting #758

Open
14 tasks
streamich opened this issue Nov 10, 2024 · 0 comments
Open
14 tasks

Peritext: smart formatting #758

streamich opened this issue Nov 10, 2024 · 0 comments

Comments

@streamich
Copy link
Owner

streamich commented Nov 10, 2024

  • Add ability to track the last inserted characters and efficiently match them against a replacement patter.
    • Fixed text pattern
    • Regex pattern
  • Create common replacements (see some examples here)
    • :) to 🙂
    • ... to ellipsis
    • -> and <-
    • >> and <<
    • (c) and (tm)
    • -- to "ndash"; <ndash>- to "mdash"
    • `abc` to abc
  • Add ability to define additional replacements
  • Add ability to specify replacements which are not just text. For example, a replacement could be some smart chip.
    • Color chip #07f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant