summaryrefslogtreecommitdiff
path: root/sandbox/code-block-directive/docs/myfunction.py.txt
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-05-09 13:42:58 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-05-09 13:42:58 +0000
commit5aa46e8d12bd92b7d541ddd22fa81a8164deb46f (patch)
tree3f6b49db491a209d70ca0107387ff8da0bacd98b /sandbox/code-block-directive/docs/myfunction.py.txt
parenta37d1d928b4a49c118bb17c0d49b09f1fc1e685b (diff)
downloaddocutils-5aa46e8d12bd92b7d541ddd22fa81a8164deb46f.tar.gz
Clean up code-block-directive sandbox project.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7430 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/code-block-directive/docs/myfunction.py.txt')
-rw-r--r--sandbox/code-block-directive/docs/myfunction.py.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/sandbox/code-block-directive/docs/myfunction.py.txt b/sandbox/code-block-directive/docs/myfunction.py.txt
index cce27ea52..7d632a7d5 100644
--- a/sandbox/code-block-directive/docs/myfunction.py.txt
+++ b/sandbox/code-block-directive/docs/myfunction.py.txt
@@ -42,4 +42,10 @@ Another example:
# and now for something completely different
print 8/2
-The end.
+Inline code :code:`$\alpha = \int_0^\infty f(x) dx$`.
+
+.. role:: python(code)
+ :language: python
+ :class: testclass
+
+Python code :python:`print("The end.")`