From 5aa46e8d12bd92b7d541ddd22fa81a8164deb46f Mon Sep 17 00:00:00 2001 From: milde Date: Wed, 9 May 2012 13:42:58 +0000 Subject: 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 --- sandbox/code-block-directive/docs/myfunction.py.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sandbox/code-block-directive/docs/myfunction.py.txt') 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.")` -- cgit v1.2.1