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

Foreign quotes support? #802

Closed
virtualritz opened this issue Jan 2, 2024 · 1 comment
Closed

Foreign quotes support? #802

virtualritz opened this issue Jan 2, 2024 · 1 comment

Comments

@virtualritz
Copy link

It would be nice if Options::ENABLE_SMART_PUNCTUATION: turned ' and " into localized quotes.

An additional way to switch this on (Options::ENABLE_LOCALISED_QUOTES?) and select a supported language would be needed too, I guess.

No need to add detection of primary/secondary. The Markdown author itself should have control over this implcitly by using single/double quotes.

@Martin1887
Copy link
Collaborator

This is a relatively big feature, and I think it is out of the scope of the basic pulldown-cmark renderer.

Note the aim of this crate is basically parse Markdown, and the renderer is only a basic utility showing what can be do. An external renderer using pulldown-cmark is welcome, and this feature would be useful there, check #645.

@Martin1887 Martin1887 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2024
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

2 participants