Share feedback, ideas and get community help

Code blocks loose formatting once posted

Updated 5 months ago

Code block when editing the post:

Code block when comment is posted:

Marked as solution

This should be fixed now!

.red-panel .card-header {
     background-color: red;
}
View full solution
N
B
A
3 comments·2 replies

Thanks for raising this, we'll add it to be fixed next week.

The problem here looks like it's not preserving the white space right? What are the blue and red underlines? Is that a spell checker or something else? A syntax highlighter would be awesome on this too so that the text isn't all the same color.

yes, its regarding the indenting.

Agreed, that syntax highlighting will be very nice, though should be raised as a separate feature request.

Syntax highlighting is planned for our next package of editor improvements!

This should be fixed now!

.red-panel .card-header {
     background-color: red;
}