Style tests¶
This page contains examples of the styles used in the Nengo theme. It is mainly useful for internal testing to make sure everything is displaying correctly. This page is based on the Cloud Sphinx theme’s feature test.
Text¶
Inline literal: literal text
External link: https://www.nengo.ai/
Email link: bob@example.com
Bold text
Italic text
Math¶
Inline math: \(a^2 + b^2 = c^2\)
Displayed math, with a label:
Equation reference: (1)
Admonitions¶
Note
This is a note.
Caution
This is slightly dangerous.
Warning
This is a warning.
Danger
This is dangerous.
See also
This is a “see also” message.
Todo
This is a todo message.
With some additional next on another line.
Deprecated since version 0.1: This is a deprecation warning.
New in version 0.1: This was added.
Changed in version 0.1: This was changed.
Code¶
Python code block with line numbers:
1 2 3 4 5 6 7 8 9 | >>> import os
>>> os.listdir("/home")
['bread', 'pudding']
>>> os.listdir("/root")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 13] Permission denied: '/root'
|
INI code block:
[reuben]
bread = rye
meat = corned beef
veg = sauerkraut