Share feedback, ideas and get community help

Updated 8 months ago

Code blocks loose formatting once posted

At a glance

The post discusses issues with code formatting and syntax highlighting in an editor. Community members have raised concerns about the lack of white space preservation, blue and red underlines, and the need for syntax highlighting. The community members have agreed that syntax highlighting would be a valuable feature. One community member has indicated that the issue with the red panel header has been fixed, and another has stated that syntax highlighting is planned for the next editor improvements package.

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;
}