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
    print("The path-less shebang syntax *will* show line numbers.")

Syntax Highlight

    import abc

Take a look about me and do not do anything

Adding an image to text

my_image

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!

Published

Category

articles

Tags

Contact