Description / Summary
The smartquotes extension will output curly quotes “” and ‘’ instead of "" and '', which is great. But not all languages use these quotes. It would be great to have a way to specify them.
Value / benefit
Better support for non-English languages
Implementation details
Custom quotes can directly be passed to the md instance as markdown-it supports this. The "quotes" option of md is an array of four strings that specify opening and closing first- and second-level string. For instance, it could be set to ['«\u202F', '\u202F»', '“', '”'] for French.
Tasks to complete
No response
Description / Summary
The smartquotes extension will output curly quotes “” and ‘’ instead of "" and '', which is great. But not all languages use these quotes. It would be great to have a way to specify them.
Value / benefit
Better support for non-English languages
Implementation details
Custom quotes can directly be passed to the
mdinstance as markdown-it supports this. The"quotes"option ofmdis an array of four strings that specify opening and closing first- and second-level string. For instance, it could be set to['«\u202F', '\u202F»', '“', '”']for French.Tasks to complete
No response