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
Attempting to mark code inside of a code block will misplace the mark closing tag, placing it before the next token starts, and if it is added after the last token ends it needs a whitespace to get added, other wise it is included in the last token. Usually the string-literal token is the easiest to reproduce this with.
Examples:
```ruby
<^><% %><^>
<% %>
```
```ruby
<^>to: ""<^>
```
```js
<^>const test = `hello<^>
world`;
```
In the last example we can see the mark closing tag is closed before the string literal starts:
Information
Details
Description
Attempting to mark code inside of a code block will misplace the mark closing tag, placing it before the next token starts, and if it is added after the last token ends it needs a whitespace to get added, other wise it is included in the last token. Usually the string-literal token is the easiest to reproduce this with.
Examples:
In the last example we can see the mark closing tag is closed before the string literal starts:
Steps to reproduce
Navigate to https://www.digitalocean.com/community/markdown
Clear the textbox
Paste one of the above examples inside of the textbox
Expected behavior
Text inside of the <^> marking token gets marked in the resulting code block
The text was updated successfully, but these errors were encountered: