markdown-playgrounds
markdown-playgrounds copied to clipboard
Two lines paragraph highlight issue
Hey, I found this weird highlight results: For this markdown text:
This is a *same*
**paragraph**
The highlight result is:

Interesting. It seem like this might be a bug in cmark, it reports the correct line number, but it says the emphasis starts at column 1. Either my interpretation of CommonMark's position is wrong, or the underlying library is wrong =)
I filed an issue on the cmark repo: https://github.com/commonmark/cmark/issues/296
@chriseidhof Yeah, the cmark lib returns unexpected columns. More interestingly, I also found this weird results (I made italic highligted):
Looks like this is related to soft breaks.