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

Arbitrarily Long Ligations of Some Characters #2577

Open
kryzet opened this issue Nov 7, 2024 · 3 comments
Open

Arbitrarily Long Ligations of Some Characters #2577

kryzet opened this issue Nov 7, 2024 · 3 comments

Comments

@kryzet
Copy link

kryzet commented Nov 7, 2024

  • Some Markdown flavors require this ligation.
  • This ligation is implemented in Fira Code.

When writing tables in one of the Markdown flavors that supports them and pretty much anytime you're doing ASCII art or pretty formatting of textual output, you need a lot of straight-line characters placed next to each other such as the hyphen, underscore, equal to sign, and vertical bar, as well as the plus sign. Fira Code supports ligatures for some of these, and you can find a sample below, but I think all of these characters should have ligatures to allow for better readability of pretty-printed text output. In programming languages, this would likely also make sense for double- or triple-character operators that use these symbols. You can find the below picture in the Fira Code GitHub repository.

image

@be5invis
Copy link
Owner

We currently already have long ligations. You may need to enable dlig feature to enable them.

@kryzet
Copy link
Author

kryzet commented Jan 8, 2025

Isn't there a way to toggle on individual ligatures? dlig is a bit much for me.

@Logo121
Copy link
Contributor

Logo121 commented Jan 9, 2025

Isn't there a way to toggle on individual ligatures? dlig is a bit much for me.

You can make a custom build to choose particular types of ligature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants