git.iko.soy/typeable/pandoc
on master help sign in
MediaWiki reader: Updated todo comments.
9353af9John MacFarlane
src/Text/Pandoc/Readers/MediaWiki.hs+12−8
@@ -30,27 +30,31 @@ Conversion of mediawiki text to 'Pandoc' document.
30-}
30-}
31{-
31{-
32TODO:
32TODO:
33−_ tests for lists
34_ support HTML lists
33_ support HTML lists
35_ support list style attributes and start values in ol lists, also
34_ support list style attributes and start values in ol lists, also
36 value attribute on li
35 value attribute on li
37_ support preformatted text (lines starting with space)
36_ support preformatted text (lines starting with space)
38_ support preformatted text blocks
37_ support preformatted text blocks
39_ support internal links http://www.mediawiki.org/wiki/Help:Links
38_ support internal links http://www.mediawiki.org/wiki/Help:Links
40−_ support external links
39+_ support external links (partially implemented)
41−_ support automatic linkification of URLs
42_ support images http://www.mediawiki.org/wiki/Help:Images
40_ support images http://www.mediawiki.org/wiki/Help:Images
43−_ ignore gallery tag?
44_ support tables http://www.mediawiki.org/wiki/Help:Tables
41_ support tables http://www.mediawiki.org/wiki/Help:Tables
45_ support <math> tag for latex math
42_ support <math> tag for latex math
43+_ raw mediawiki:
46−_ templates or anything in {{}} -> handle as raw wikimedia, can be dealt with in
44+ _ templates or anything in {{}} (can be postprocessed)
47− postprocessing
48−_ category links
45+ _ category links
46+_ gallery tag?
49_ tests for raw html inline
47_ tests for raw html inline
48+_ tests for raw html block tags
49+_ test for <p> tags
50_ tests for sup, sub, del
50_ tests for sup, sub, del
51−_ tests for pre, haskell
51+_ tests for pre, haskell, syntaxhighlight
52_ tests for code, tt, hask
52_ tests for code, tt, hask
53_ test for blockquote
53_ test for blockquote
54+_ tests for native lists
55+_ tests for autolink urls
56+_ tests for external links
57+_ tests for : lines
54-}
58-}
55module Text.Pandoc.Readers.MediaWiki ( readMediaWiki ) where
59module Text.Pandoc.Readers.MediaWiki ( readMediaWiki ) where
56
60