diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-11-17 03:36:04 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-11-17 03:36:04 +0000 |
commit | 9d20eeb019a6c5208342bfc3f03ae47c9aa83483 (patch) | |
tree | 5cef381c2f813eb272c7a3bb7d0787557a3c213e /tests/rst-reader.rst | |
parent | fce48c392acd5c56141ce924f4aaa8fadd10085d (diff) | |
download | pandoc-9d20eeb019a6c5208342bfc3f03ae47c9aa83483.tar.gz |
Support for "..code-block" directive in RST reader.
Not core RST, but used in Sphinx for code blocks annotated with
syntax information. Thanks to Luke Plant for the patch.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1619 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r-- | tests/rst-reader.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst index 2cc99d294..676698430 100644 --- a/tests/rst-reader.rst +++ b/tests/rst-reader.rst @@ -101,6 +101,13 @@ And:: These should not be escaped: \$ \\ \> \[ \{ +And: + +.. code-block:: python + + def my_function(x): + return x + 1 + Lists ===== |