Open alexisargyris opened 9 years ago
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);
Is there a way to specify the language in the case of processing HTML fragments?