Open HwiNyeonKim opened 2 years ago
Hi š and thanks for taking the time to create this issue.
Point 1
works like this because we try to follow the Markdown spec. You play with the reference Markdown parser at https://spec.commonmark.org/dingus/.
Point 2
is something we've wanted to fix for a while now, and hopefully, we'll do it soon.
Point 3
feels related to point 1
, but I'm not sure I understand it right. Do you think you could make a video (or gif) to demo the issue?
Thanks again!
I tested the reference Markdown parser you linked and this is the result. I think it also works weird because in case 1, a code block is generated but looks different at the parser. Anyway, you mean your intention is a code block should be generated only when ``` starts at the beginning of a line, right?
That's good news! š
Maybe it is related to point 1, but Iām not sure because it works differently from point 1. It generates an indented code block anyway. Below is a GIF of it.
Thanks for explaining!
Point 1
. Here you can see that when there's no space between the paragraph and the code block and the code block is indented, the paragraph "eats" it -- that is, it is considered part of the paragraph.
Point 3
. Looks like a bug. We'll look into it. Thanks for making the gif.
I've experienced three cases the code block does not correctly work.
I attach a screenshot of the three cases below.