-
-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A stringifier option to control escaping #1168
Comments
Hi! What you want (breaking all markdown) is not possible. There is already control in options: the If you want to improve how things are escaped and want to put in the work to do so, feel free to open a discussion and share your throughs on how to achieve that: https://github.com/syntax-tree/.github/blob/main/support.md A similar discussion: syntax-tree/mdast-util-to-markdown#31 |
This comment has been minimized.
This comment has been minimized.
The easiest way to get rid of them if you must is to run Prettier after remark on the files. They have custom remark logic to undo the escapes. |
Is it possible to use |
JS, and it’s all complex. See the thread I linked. |
Thanks for the help :) |
It’s like asking a JavaScript formatter to emit the string |
I don't see how, can you explain? |
Initial checklist
Problem
The stringifier is escaping in a way I find overzealous.
Is it for portability? I don't need portability for my case and find
_SOME\_ITALICS\_WITH\_SPACES_
less readable and natural.Solution
An option to control when things are escaped. I'd be happy with turning it off entirely but others might want more control for escaping in different scenarios.
Alternatives
Not sure?
The text was updated successfully, but these errors were encountered: