diff options
Diffstat (limited to 'sandbox/code-block-directive/docs/myfunction.py.txt')
-rw-r--r-- | sandbox/code-block-directive/docs/myfunction.py.txt | 11 |
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 |