PyKwiki uses the Markdown module's codehilite extension by default.
This extension is powered by Pygments and supports a wide variety of languages.
Unhilighted: :::text No "syntax" highlighting here...
Produces:
Unhilighted:
No "syntax" highlighting here...
Sample *Python*: :::python def foo(): print("Bar") return False
Produces:
Sample Python:
def foo(): print("Bar") return False
Contents of `myconfig.ini`: :::ini ; Database connection info server = localhost password = "ASDFG123456" db_server = mydb.localhost
Produces:
Contents of myconfig.ini
:
; Database connection info server = localhost password = "ASDFG123456" db_server = mydb.localhost