Search
Testing code blocks

This page tests a few code blocks and inline elements.

Inline code

Here's some inline code. It shouldn't be colored by np.language, but should instead render with the same background.

Block code

Here's a code block:

a = "here's"
b = "some"
c = "code"

and another language:

a <- "here's"
b <- "some"
c <- "code"

and a raw block

a = "here's"
b = "some"
c = "code"

Code in the titles np.heresmycode

That's it - they should look normal and scale w/ the title

A third.level.title

And that's it!

Code cells

# And here's some actual python code
print("Two + Two is: {}".format(2+2))
print("Two + Two is: {}".format(2+2))
print("Two + Two is: {}".format(2+2))
Two + Two is: 4
Two + Two is: 4
Two + Two is: 4