-
Notifications
You must be signed in to change notification settings - Fork 52
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
language option #25
Labels
Comments
Not yet, but there will be. This is especially needed for the soft hyphen insertion. |
Also, in Russian we use «» quotation marks. Would be nice to see language specific settings. |
Yes, please. Or at least a way to configure each feature manually. For example: const options = {
// https://en.wikipedia.org/wiki/Quotation_mark
quotes: {
primary: ['«', '»'],
secondary: ['“', '”']
},
// https://en.wikipedia.org/wiki/Dash
punctuation: {
'--': '—',
}
};
let output = typeset(html, options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to specify the language in the case of processing HTML fragments?
The text was updated successfully, but these errors were encountered: