Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

PHP open tag requirement for proper highlighting

$
0
0

Replies: 0

This is probably a bug (feature?) of the editor incorporated into this plugin, but the syntax highlighting of PHP snippets is active only with <?php tag on the top.

Personally, most of the time I’d like to show code fragments, like a simple function or even a line with variable setup. This requirement of having <?php tag is not so great.

Is there a chance we could get working PHP highlighting without the starting tag?


Viewing all articles
Browse latest Browse all 59525

Trending Articles