Steps to reproduce
Type two backticks above text:
Hello
``
World
Expected result
Only the two backticks should be styled. The rest of the document shouldn’t be changed.
Actual result
The inline code styling isn’t contained to `` until 1+ characters are put inside it:
Environment
Operating system: Windows 10 (2004) and macOS 10.15.6
Obsidian version: 0.8.15 (seen in older versions)
Additional information
Example:
1 Like
Dor
September 15, 2020, 12:26am
2
One tick does it too (type one, delete one of the resulting pair).
heumed
November 26, 2020, 5:33pm
3
Steps to reproduce
press the back tick ` key to insert two backticks for inserting inline code
Expected result
Two back ticks are inserted, downstream highlighting is not affected - like this but with no space between the backticks
Actual result
Downstream highlights turn into one big code block. Picture provided. I think this happens because the highlighter does not recognize the second backtick if the two backticks have nothing between them.
As soon as I start typing, distal highlighting reverts to expected.
If I delete everything between the two backticks, the syntax highlighter will again convert everything after the two backticks to a code block.
Environment
Additional information
this is fixed in the new editor
system
Closed
February 4, 2022, 2:32am
5
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.