Skip to content

Smart apostrophes, also known as curly or typographer's apostrophes #2268

Answered by ChristianMurphy
xixixao asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by xixixao
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants