You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working on a different open source repo with this particular issue. Basically what I noticed on common markdown processors is that whenever there is N ticks or tildes, there has to be N or more closing ticks or tildes`. From a brief look at code block functions
I noticed that the code only takes into consideration of exactly 3 backticks or tildes. I could be wrong, but I noticed on my side and on the issuer's side that there's a bug when one uses more than 3 ticks.
I couldn't find anything official regarding markdown specifications but what I noticed is that the only way to close a code block is with N or more backticks or tildes. With that said, what I expect to be is as follows:
N backticks (or tildes) should be enclosed with N or more backticks or (tildes). Backticks should not be showed in a UI, even if the number of enclosing backticks is greater than the number of opening backticks.
so
`````
```js
```
``````
The outer backticks will not be visible when parsed, but the inner backticks will be visible as 3 is less than 5.
The text was updated successfully, but these errors were encountered:
Hello,
I was working on a different open source repo with this particular issue. Basically what I noticed on common markdown processors is that whenever there is
N
ticks or tildes, there has to beN or more
closing ticks or tildes`. From a brief look at code block functionsI noticed that the code only takes into consideration of exactly 3 backticks or tildes. I could be wrong, but I noticed on my side and on the issuer's side that there's a bug when one uses more than 3 ticks.
I couldn't find anything official regarding markdown specifications but what I noticed is that the only way to close a code block is with
N or more
backticks or tildes. With that said, what I expect to be is as follows:N
backticks (or tildes) should be enclosed withN or more
backticks or (tildes). Backticks should not be showed in a UI, even if the number of enclosing backticks is greater than the number of opening backticks.so
`````
```js
```
``````
The outer backticks will not be visible when parsed, but the inner backticks will be visible as 3 is less than 5.
The text was updated successfully, but these errors were encountered: