From 9d20eeb019a6c5208342bfc3f03ae47c9aa83483 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Tue, 17 Nov 2009 03:36:04 +0000 Subject: 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 --- tests/rst-reader.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/rst-reader.rst') 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 ===== -- cgit v1.2.3