aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-09-12 19:09:45 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-09-12 19:09:45 -0700
commit9353af9133a2400d4e0f368dfadb6d677835e8c9 (patch)
tree96dccc82fcf0221392ff6ff31286e6e737ff1e4f /src/Text/Pandoc
parentbb6fcf1dac79943c84dacb4a27ee163911b03bff (diff)
downloadpandoc-9353af9133a2400d4e0f368dfadb6d677835e8c9.tar.gz
MediaWiki reader: Updated todo comments.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/MediaWiki.hs20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/Text/Pandoc/Readers/MediaWiki.hs b/src/Text/Pandoc/Readers/MediaWiki.hs
index 97747ecee..c0fa6f6f2 100644
--- a/src/Text/Pandoc/Readers/MediaWiki.hs
+++ b/src/Text/Pandoc/Readers/MediaWiki.hs
@@ -30,27 +30,31 @@ Conversion of mediawiki text to 'Pandoc' document.
-}
{-
TODO:
-_ tests for lists
_ support HTML lists
_ support list style attributes and start values in ol lists, also
value attribute on li
_ support preformatted text (lines starting with space)
_ support preformatted text blocks
_ support internal links http://www.mediawiki.org/wiki/Help:Links
-_ support external links
-_ support automatic linkification of URLs
+_ support external links (partially implemented)
_ support images http://www.mediawiki.org/wiki/Help:Images
-_ ignore gallery tag?
_ support tables http://www.mediawiki.org/wiki/Help:Tables
_ support <math> tag for latex math
-_ templates or anything in {{}} -> handle as raw wikimedia, can be dealt with in
- postprocessing
-_ category links
+_ raw mediawiki:
+ _ templates or anything in {{}} (can be postprocessed)
+ _ category links
+_ gallery tag?
_ tests for raw html inline
+_ tests for raw html block tags
+_ test for <p> tags
_ tests for sup, sub, del
-_ tests for pre, haskell
+_ tests for pre, haskell, syntaxhighlight
_ tests for code, tt, hask
_ test for blockquote
+_ tests for native lists
+_ tests for autolink urls
+_ tests for external links
+_ tests for : lines
-}
module Text.Pandoc.Readers.MediaWiki ( readMediaWiki ) where