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.native | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/rst-reader.native') diff --git a/tests/rst-reader.native b/tests/rst-reader.native index 8848fa111..294be318c 100644 --- a/tests/rst-reader.native +++ b/tests/rst-reader.native @@ -43,6 +43,8 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ":",Space,Str , CodeBlock ("",[],[]) "this code block is indented by one tab" , Para [Str "And",Str ":"] , CodeBlock ("",[],[]) "this block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{" +, Para [Str "And",Str ":"] +, CodeBlock ("",["sourceCode","python"],[]) "def my_function(x):\n return x + 1" , Header 1 [Str "Lists"] , Header 2 [Str "Unordered"] , Para [Str "Asterisks",Space,Str "tight",Str ":"] -- cgit v1.2.3