Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Suggestions on integrating smartypants? #224
I unfortunately have no idea how to properly do that, with retext, currently.
It’s possible for the markdown tree to be converted to a natural language tree, through remark-retext. This keeps positional info intact, and strips the syntax. Thus making it possible for, say, [retext-spell][https://github.com/wooorm/retext-spell] to detect
That three can also be properly modified by retext-smartypants.
However, theres no way to merge that tree back into the markdown tree. And I’m not sure how to do it.
Say, staying with the earlier example,
Thought about this a short while, we probably need:
the diff and patch would be ok, but changing nlcst patches to mdast patches is hard, I think.