Syntax highlight in Pelican
There are two ways to specify the identifier:
print("The triple-colon syntax will *not* show line numbers.")
To display line numbers, use a path-less shebang instead of colons:
1 | |
Syntax Highlight
import abc
Take a look about me and do not do anything
Adding an image to text

More highlight
#!/usr/bin/python3
from engine import RunForrestRun
"""Test code for syntax highlighting!"""
class Foo:
def __init__(self, var):
self.var = var
self.run()
def run(self):
RunForrestRun() # run along!