Highlight code within Pre-formatted text

#1

Would it be possible to have a tool to highlight portions of code within Pre-formatted text? It can be useful when you want to comment on a particular part of the code.

The thing is that within a block of code, Bold and Italic don't work. So I was thinking inverted colours can be the way, pretty much similar to highlighting code in the console.

2 Likes

#2

If we are looking at this feature, can we look at code highlighting too? Or does that already exist.

0 Likes

#3

I'm not sure what he difference is between highlighting code and code highlighting (other than the grammar), unless you mean code colouring (or syntax highlighting), but that probably would be too much.

0 Likes

#4

Yes I mean syntax highlighting.

1 Like

#5
0 Likes