PHP color formatting in Kirby forum


#1

I’ve seen color formatting of PHP code blocks. How is that done? Mine are always grey, like this.

echo 'Boring grey code';

#2

Look at Syntax Highlighting in the forum

Add “php” after the three beginning tickmarks


#3

Nice! For anyone else, here it is…

Copy, paste BUT remove the space before the last three tickmarks.

```php
echo 'Colorful PHP code';