idea-markdown icon indicating copy to clipboard operation
idea-markdown copied to clipboard

Not highlight well for code block with "github flavored syntax" if it contains leading spaces

Open freewind opened this issue 11 years ago • 2 comments

When the code is complex and have leading spaces and empty lines, the highlight is not broken

See the image:

code

freewind avatar Jan 20 '15 03:01 freewind

I have the same issue.

~~The preview tab does not display this type of code block correctly either. If you have an empty newline in the middle, it does not render the code block at all. Even when not containing the extra line, the preview tab shows the code all on the same line, with no way to have multi-line code.~~

If you enable Fenced code blocks in the settings, it fixes this issue.

The problem with the editor still persists however.

dav-s avatar Feb 16 '15 02:02 dav-s

Notice: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. There is a Markdown plugin officially supported by Jetbrains.

nicoulaj avatar May 22 '16 11:05 nicoulaj