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

[Feature Request] Allow multiple sets of quote marks & per-file settings #27

Open
twio142 opened this issue Jun 2, 2022 · 1 comment

Comments

@twio142
Copy link

twio142 commented Jun 2, 2022

I personally would need two sets of quotes, “quote”, ‘subquote’ in English texts and „quote“, ‚subquote‘ in German texts.

It'd be nice to be able to store and switch between several sets and also, to have individual settings for each file, for example by defining a specific property in the frontmatter.

The ideal solution would be automatically switching based on the current input language. But as far as I know, plugins can only execute shell commands using child_process which reacts quite slowly. I don't know if there is a better way to access system input method information besides that.

It is a very practical and neat written plugin, though. :) Thanks for developing it!

@ildorn
Copy link

ildorn commented Jul 22, 2022

I'd like that. Maybe add a language property to the frontmatter. That could also be used for other plugins. Then allow for a set of typography replacements for any language you want - defaulting to the standard "us" set currently available.

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