From ddaec05d8f49308363c694718240bdaf58466659 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 27 Jul 2008 03:25:51 +0000 Subject: Added MediaWiki writer. + Added Text/Pandoc/Writers/MediaWiki.hs + Added to pandoc.cabal + Added to Main.hs and Text/Pandoc.hs exports. + Added tests for mediawiki writer & table writer. + Added information on MediaWiki writer to README. + Added mediawiki markup to list of formats in pandoc(1) man page. + Updated debian/control with mediawiki output format. + Added mediawiki markup to description in macports portfile. + Updated freebsd package description to include mediawiki format. + Mention MediaWiki output format in web page index. + Added mediawiki demo to website. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1337 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/tables.mediawiki | 123 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 tests/tables.mediawiki (limited to 'tests/tables.mediawiki') diff --git a/tests/tables.mediawiki b/tests/tables.mediawiki new file mode 100644 index 000000000..abe1cf530 --- /dev/null +++ b/tests/tables.mediawiki @@ -0,0 +1,123 @@ +Simple table with caption: + + + + + + + + + +
Demonstration of simple table syntax.
Right +Left +Center +Default +
12 +12 +12 +12 +
123 +123 +123 +123 +
1 +1 +1 +1 +
+Simple table without caption: + + + + + + + + + +
Right +Left +Center +Default +
12 +12 +12 +12 +
123 +123 +123 +123 +
1 +1 +1 +1 +
+Simple table indented two spaces: + + + + + + + + + +
Demonstration of simple table syntax.
Right +Left +Center +Default +
12 +12 +12 +12 +
123 +123 +123 +123 +
1 +1 +1 +1 +
+Multiline table with caption: + + + + + + + +
Here's the caption. It may span multiple lines.
Centered Header +Left Aligned +Right Aligned +Default aligned +
First +row +12.0 +Example of a row that spans multiple lines. +
Second +row +5.0 +Here's another one. Note the blank line between rows. +
+Multiline table without caption: + + + + + + + +
Centered Header +Left Aligned +Right Aligned +Default aligned +
First +row +12.0 +Example of a row that spans multiple lines. +
Second +row +5.0 +Here's another one. Note the blank line between rows. +
-- cgit v1.2.3