summaryrefslogtreecommitdiff
path: root/sandbox/code-block-directive/docs/myfunction.py.txt
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-06-08 16:05:01 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-06-08 16:05:01 +0000
commit0784ae4285103bb3098e482fc4f915b977fdf6db (patch)
treec44f93238162a571b54c12a352c53b1850ec1281 /sandbox/code-block-directive/docs/myfunction.py.txt
parent698b0e9f6dd70ef89d4e47783efbaff903e3155a (diff)
downloaddocutils-0784ae4285103bb3098e482fc4f915b977fdf6db.tar.gz
New sandbox project for development of a code-block directive
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5229 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.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/sandbox/code-block-directive/docs/myfunction.py.txt b/sandbox/code-block-directive/docs/myfunction.py.txt
new file mode 100644
index 000000000..926733dc0
--- /dev/null
+++ b/sandbox/code-block-directive/docs/myfunction.py.txt
@@ -0,0 +1,11 @@
+This is a test of the new code-block directive:
+
+.. Translate this document to HTML with a pygments enhanced frontend, e.g.
+
+ rst2html-highlight --stylesheet=pygments-default.css --link-stylesheet
+
+.. code-block:: python
+
+ def my_function():
+ "just a test"
+ print 8/2