commonmark-spec icon indicating copy to clipboard operation
commonmark-spec copied to clipboard

Add a sub-section on usage of zero-width space

Open haqer1 opened this issue 5 years ago • 1 comments

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.

haqer1 avatar Apr 17 '20 06:04 haqer1

FYI, I separated the suggestions into 2 PRs:

  1. #644: related to first 2 examples in the OP
  2. #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.

haqer1 avatar Apr 17 '20 08:04 haqer1