John MacFarlane
4ee92dce0c
MediaWiki reader: Fixed bug in certain nested lists.
...
The bug: If a level 2 list was followed by a level 1 list, the first
item of the level 1 list would be lost.
Closes #1213 .
2014-04-01 10:36:23 -07:00
Jaime Marquínez Ferrándiz
303e42a94f
MediaWiki reader: Accept image links in more languages
...
In some of the Wikipedia versions the local version of 'File' is used (for example 'Archivo' in Spanish)
2013-11-24 15:28:57 +01:00
John MacFarlane
0fd2176e29
MediaWiki reader: Add automatic header identifiers.
2013-11-17 08:47:14 -08:00
John MacFarlane
e5feed00f7
MediaWiki reader: Trim contents of <math>
tags.
...
Otherwise we get problems when converting to markdown.
Closes #1027 .
2013-10-18 17:50:43 -07:00
John MacFarlane
71841de0f3
Mediawiki: Parse an image + caption in a para by itself as a figure.
2013-09-11 09:31:41 -07:00
John MacFarlane
309024971c
Updated tests for latest pandoc-types changes.
2013-08-16 12:25:21 -07:00
John MacFarlane
3e8bd8aa15
Updated for removed unMeta, unFormat in pandoc-types.
2013-08-14 23:24:45 -07:00
John MacFarlane
210d7b7bce
Updated tests for new Format.
2013-08-10 17:53:11 -07:00
John MacFarlane
08631ef1a3
Some test suite fixes for new metadata.
2013-06-25 22:32:50 -07:00
John MacFarlane
48b23d491d
MediaWiki reader: Correctly handle indented preformatted text
...
without preceding or following blank line.
2013-03-28 10:48:00 -07:00
John MacFarlane
099b4b7769
Mediawiki: Fixed regression for <ref>URL</ref>
.
...
`<` is no longer allowed in URLs, according to the uri parser
in Text.Pandoc.Parsing.
Added a test case.
2013-03-28 09:54:02 -07:00
Jeff Runningen
efddb85d46
Mediawiki reader: Don't require blanklines after tables.
2013-01-27 23:15:46 -05:00
John MacFarlane
d599c4cdab
Added Attr field to Header.
...
Previously header ids were autogenerated by the writers.
Now they are generated (unless supplied explicitly) in the
markdown parser, if the `header_identifiers` extension is
selected.
In addition, the textile reader now supports id attributes on
headers.
2013-01-09 09:30:05 -08:00
John MacFarlane
fc31bf27f5
MediaWiki reader: Allow table in table cell.
2012-09-15 21:06:55 -07:00
John MacFarlane
64b0378f5d
MediaWiki reader: Added test case for templates in list item.
2012-09-15 16:29:52 -04:00
John MacFarlane
2bc32bcb04
MediaWiki reader: Added test for ref.
2012-09-15 16:28:25 -04:00
John MacFarlane
0a2fb202fb
MediaWiki reader: Interpret width attribute on table columns.
2012-09-15 15:04:11 -04:00
John MacFarlane
26fb63e294
MediaWiki reader: Got alignments working.
...
They only work on headers, because pandoc forces same
alignment for all cells in a column.
2012-09-15 14:20:50 -04:00
John MacFarlane
eca9eeab6b
MediaWiki reader: Misc fixes, put category links at end.
2012-09-15 13:50:02 -04:00
John MacFarlane
9a54a949c7
MediaWiki reader: Parse styles after '{|' table start.
2012-09-15 00:23:24 -04:00
John MacFarlane
152ddfb232
MediaWiki reader: Added test for multi-paragraph cells.
2012-09-14 23:31:55 -04:00
John MacFarlane
ce509be57a
MediaWiki reader: Table improvements, added simple table tests.
2012-09-14 10:55:16 -04:00
John MacFarlane
46be934994
MediaWiki reader: Images.
2012-09-13 18:16:25 -07:00
John MacFarlane
a0d7b3f37b
MediaWiki reader: internal links.
2012-09-13 17:06:09 -07:00
John MacFarlane
fc2f7a4942
MediaWiki reader: Implemented basic internal links.
...
Including word-ending links and the "pipe trick."
2012-09-13 16:55:08 -07:00
John MacFarlane
5620848ef9
MediaWiki reader: Added tests for external mailto link.
2012-09-13 15:28:11 -07:00
John MacFarlane
017095f690
MediaWiki reader: Implemented numbered external links.
2012-09-13 15:24:05 -07:00
John MacFarlane
81bec8558c
MediaWiki reader: Support HTML lists.
2012-09-13 14:47:11 -07:00
John MacFarlane
3fe6ea4c41
MediaWiki reader: Handle templates, variables as raw mediawiki.
...
Also check for column 1 in preformatted text.
2012-09-13 12:03:54 -07:00
John MacFarlane
5104c2190b
MediaWiki reader: preformatted blocks and tests.
2012-09-12 22:44:11 -07:00
John MacFarlane
b703c76540
MediaWiki reader: Support <math>
tag.
2012-09-12 19:57:34 -07:00
John MacFarlane
def768cd1f
Added tests for mediawiki lists.
2012-09-12 19:48:11 -07:00
John MacFarlane
a76c6df826
More mediawiki reader tests.
2012-09-12 19:35:06 -07:00
John MacFarlane
b19aee4e1e
Added some tests for mediawiki reader.
2012-09-12 19:15:34 -07:00
John MacFarlane
3d361b2101
Added basic mediawiki reader.
...
Text.Pandoc.Readers.MediaWiki module,
tests/mediawiki-reader.{txt,native}.
2012-09-12 09:05:10 -07:00