Syntax highlighting with wordpress
Posted on January 21, 2017 (Last modified on July 11, 2024) • 1 min read • 158 wordsThis is just a test for syntax highlighting. Which I really really really wanted to have. Even if it’s WordPress and not something cool like hugo.
So, let’s try:
import random
class RndTest:
def __init__(self):
print("Oy! 'this is python!")
self.rnd_seed = random.random()
@classmethod
def do_nothing(cls, nothing):
print("Doing {} now ;)".format(nothing))
That doesn’t look so bad, right?
Like.
(So, none really)
To be honest, the only real contender in installation base and features seems to be Syntax Highlighter Evolved. I have not tried it, but if you don’t like crayon, that looks like the one to go.