commonmark-spec
commonmark-spec copied to clipboard
Add a sub-section on usage of zero-width space
Zero-width space is currently not mentioned in (e.g.) https://spec.commonmark.org/0.29 at all.
However, it's suggested to be used for certain cases. E.g.: https://github.com/commonmark/commonmark.js/issues/108#issuecomment-425666890 https://github.com/commonmark/commonmark.js/issues/148#issuecomment-475676404
There are also cases where it works for single indicator of inline structure, but not for double: https://github.com/commonmark/commonmark.js/issues/174
Hence, IMHO, it's worth documenting this.
FYI, I separated the suggestions into 2 PRs:
- #644: related to first 2 examples in the OP
- #645: related to the last example in the OP (includes item 1. verbatim)
I don't have much more time for this, but these are my quick thoughts on improving documentation in this regard.