From f02080b62db7671aac090f89bb3df48637134e75 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 8 Dec 2010 00:44:46 -0800 Subject: Textile reader: Implemented footnotes. --- tests/textile-reader.native | 6 ++++-- tests/textile-reader.textile | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/textile-reader.native b/tests/textile-reader.native index f2024c4d8..680b43849 100644 --- a/tests/textile-reader.native +++ b/tests/textile-reader.native @@ -1,4 +1,4 @@ -Pandoc (Meta {docTitle = [Str ""], docAuthors = [[Str ""]], docDate = [Str ""]}) +Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) [ Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc",Space,Str "Textile",Space,Str "Reader",Str ".",Space,Str "Part",Space,Str "of",Space,Str "it",Space,Str "comes",LineBreak,Str "from",Space,Str "John",Space,Str "Gruber",Apostrophe,Str "s",Space,Str "markdown",Space,Str "test",Space,Str "suite",Str "."] , HorizontalRule , Header 1 [Str "Headers"] @@ -131,4 +131,6 @@ Pandoc (Meta {docTitle = [Str ""], docAuthors = [[Str ""]], docDate = [Str ""]}) , Para [Str "Hi",Str "\8482"] , Para [Str "Hi",Space,Str "\8482"] , Para [Str "\174",Space,Str "Hi",Str "\174"] -, Para [Str "Hi",Str "\169",Str "2008",Space,Str "\169",Space,Str "2008"] ] +, Para [Str "Hi",Str "\169",Str "2008",Space,Str "\169",Space,Str "2008"] +, Header 1 [Str "Footnotes"] +, Para [Str "A",Space,Str "note",Str ".",Note [Para [Str "The",Space,Str "note",LineBreak,Str "is",Space,Str "here",Str "!"]]] ] diff --git a/tests/textile-reader.textile b/tests/textile-reader.textile index ed3b02bfe..e2f51a4e9 100644 --- a/tests/textile-reader.textile +++ b/tests/textile-reader.textile @@ -190,3 +190,10 @@ Hi (TM) (r) Hi(r) Hi(c)2008 (C) 2008 + +h1. Footnotes + +A note.[1] + +fn1. The note +is here! -- cgit v1.2.3