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

Allow plugin settings to govern dash behavior #10

Closed
resignationinfinite opened this issue Oct 20, 2021 · 3 comments
Closed

Allow plugin settings to govern dash behavior #10

resignationinfinite opened this issue Oct 20, 2021 · 3 comments

Comments

@resignationinfinite
Copy link

A lot of people only use em-dash rather than en-dash, and most software including macOS converts two dashes to an em-dash rather than an en-dash. Please create a settings option to govern behavior so that those wishing to go with the more commonplace usage of two dashes to an em-dash can do so. Thanks for the great plugin!

@mgmeyers
Copy link
Owner

Hi @KutuzovGambit the logic for dashes is like so:

Two dashes for en dash
Three dashes for em dash
Four dashes for three normal dashes (eg, ---)

I'll think about adding a setting to skip the en dash, though. Let me see how complex that would be and get back to you.

@mgmeyers
Copy link
Owner

Ok, I've added a setting to skip en-dashes. This will only work with the latest insider build, though. Everyone should have access once live preview is released to the public.

Screen Shot 2021-12-12 at 1 36 10 PM

@resignationinfinite
Copy link
Author

Ok, I've added a setting to skip en-dashes. This will only work with the latest insider build, though. Everyone should have access once live preview is released to the public.

Screen Shot 2021-12-12 at 1 36 10 PM

Wonderful, thank you!!

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

2 participants