Smart apostrophes, also known as curly or typographer's apostrophes #2268
-
Is there a plugin for, or a code snippet to enable, converting single and double quotes to smart apostrophes, also known as curly or typographer's apostrophes?
? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Welcome @xixixao! If you're looking for natural language check out retext. Or if you're looking for something more custom. |
Beta Was this translation helpful? Give feedback.
-
My personal suggestion on this is that I believe authors should learn how to use their keyboard to input the correct characters. |
Beta Was this translation helpful? Give feedback.
Welcome @xixixao!
MDX is focused on markdown and JSX specifically.
If you're looking for natural language check out retext.
In particular https://github.com/retextjs/retext-quotes
MDX (through remark) can interface with retext using https://github.com/remarkjs/remark-retext
Or if you're looking for something more custom.
Check out https://unifiedjs.com/learn/
To learn more about working with syntax trees and creating your own plugin.