def foo(x, a): """ x: a positive integer argument a: a positive integer argument returns an integer """ count = 0 while x >= a: count += 1 x = x - a return count
there isn’t any for Lanyon, at least.
Will have to figure this out later.
Update: Chris Warrick graciously pointed out to me (in the Nikola IRC channel) that Nikola does indeed, support code highlighting via Pygments and that I just had to specify what program I was using along with my code backticks.
Like so, “ ```python ”
And here’s a shell script
#!/bin/sh # This is a comment! echo Hello World # This is a comment, too!