How to prevent the transilation of some special symbol


When we type - some content It would parse into a <li> tag

But some tokens (should I call it tokens?) like *emphasis* [img](url)

would parse them into \*emphasis\* \[img\](url)

How can I prevent this behavior?


ProseMirror is not a Markdown editor. What you type in there is text, and when you serialize that as Markdown, characters that have special meaning in Markdown will be escaped. Preventing that escaping does not really make sense.

Or, if you meant you want to prevent the automatic creation of a list for -, that is done by input rules, so if you don’t enable those input rules it won’t happen.


:persevere: Sorry about my poor English.Yes, input rules, that’s what I want! Thanks!