18. RST reminders¶
18.1. Lists¶
Bullet are made like this
A link to the NEMO repo, or github pages.
- Links to some Restructuredtext RST guides:
- Point levels must be consistent
- Sub-bullets
Sub-sub-bullets
Lists
- Term
Definition for term
- Term2
Definition for term 2
- List of Things
item1 - these are ‘field lists’ not bulleted lists item2 item 3
- Something
single item
- Someitem
single item
18.2. Code blocks¶
There are three equivalents: code
, sourcecode
, and code-block
.
# some python code
import os
print(help(os))
if True:
print("yes")
else:
print("no")
# Equivalent
# Equivalent
# some bash code
if [ -e /tmp ]; then
echo "You have /tmp"
fi