John MacFarlane
606b5e8ed4
Removed Ext_monospace_autolinks.
2012-09-27 15:01:00 -07:00
John MacFarlane
bae39e77a8
Added Ext_autolink_urls.
2012-09-27 13:43:48 -07:00
John MacFarlane
15a8192b84
Renamed Ext_autolink_code_spans to Ext_monospace_autolinks.
2012-09-27 13:33:14 -07:00
John MacFarlane
f76478bcb9
RST reader: Support :target: on .. image:: blocks.
...
Still not supported on substitution definitions.
2012-09-26 22:22:14 -07:00
John MacFarlane
22bd34fa33
Markdown reader: Fixed link parser to avoid exponential slowdowns.
...
Previously the parser would hang on input like this:
[[[[[[[[[[[[[[[[[[hi
We fixed this by making the link parser parser characters
between balanced brackets (skipping brackets in inline code spans),
then parsing the result as an inline list.
One change is that
[hi *there]* bud](/url)
is now no longer parsed as a link. But in this respect pandoc behaved
differently from most other implementations anyway, so that seems okay.
All current tests pass. Added test for this case.
Closes #620 .
2012-09-22 14:05:09 -07:00
John MacFarlane
1038606036
LaTeX reader: Added a 'try' in rawLaTeXBlock.
...
This allows the markdown reader to treat '\begin' (not followed
by an argument) as a raw string rather than erroring out when
it doesn't find a '{'.
Closes #622 .
2012-09-22 13:00:59 -07:00
John MacFarlane
ecc206f7c3
RST reader: Small tweaks to raw field lists.
...
* Don't allow line breaks in field names.
* Strip off initial newline from 'raw' when field body
begins on next line.
2012-09-16 10:29:35 -07:00
John MacFarlane
9f89269941
Merge pull request #596 from dlax/rst-fieldlists
...
improvements to rst reader for field lists
2012-09-16 10:19:42 -07:00
John MacFarlane
fc31bf27f5
MediaWiki reader: Allow table in table cell.
2012-09-15 21:06:55 -07:00
John MacFarlane
3e8630c88e
MediaWiki reader: Added smart doublequotes with -S option.
...
Also disallow ' in the "trail" of an internal link; allowing
it causes bugs with `'''[[Link]]'''`.
2012-09-15 16:56:01 -04:00
John MacFarlane
0cd2289eea
MediaWiki parser: Improved endline to stop bad breaks.
2012-09-15 16:40:35 -04:00
John MacFarlane
bc29f44d59
MediaWiki reader: Allow def list item with just a term.
2012-09-15 16:25:51 -04:00
John MacFarlane
c9faa2740b
MediaWiki reader: Properly handle templates in list items.
2012-09-15 16:17:52 -04:00
John MacFarlane
887fc14f3d
HTML reader: Modified htmlTag for fewer false positives.
...
A tag must start with `<` followed by `!`,`?`, `/`, or a letter.
This makes it more useful in the wikimedia and markdown parsers.
2012-09-15 15:46:16 -04:00
John MacFarlane
c5de3c411f
MediaWiki reader: Handle ref tags as footnotes.
2012-09-15 15:33:48 -04:00
John MacFarlane
293452f970
MediaWiki reader: Better parsing of templates.
2012-09-15 15:22:18 -04:00
John MacFarlane
387308dc47
MediaWiki reader: Treat "references" tag as block.
2012-09-15 15:05:50 -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
bc5fe70d15
MediaWiki reader: Skip inline templates, handle <source>.
2012-09-15 01:47:57 -04:00
John MacFarlane
a2391b0395
MediaWiki reader: Parse styles on table cells.
2012-09-15 01:13:26 -04:00
John MacFarlane
9a54a949c7
MediaWiki reader: Parse styles after '{|' table start.
2012-09-15 00:23:24 -04:00
John MacFarlane
aa476b42cb
MediaWiki reader: || between table cells.
2012-09-14 23:51:43 -04:00
John MacFarlane
28d2cf9500
MediaWiki reader: Improved table parsing.
2012-09-14 23:29:06 -04:00
John MacFarlane
ce509be57a
MediaWiki reader: Table improvements, added simple table tests.
2012-09-14 10:55:16 -04:00
John MacFarlane
6e9351bac4
MediaWiki reader: Support for basic mediawiki tables.
2012-09-14 10:19:35 -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
017095f690
MediaWiki reader: Implemented numbered external links.
2012-09-13 15:24:05 -07:00
John MacFarlane
8cc5625bd6
MediaWiki reader: Use MWState instead of ParserState.
2012-09-13 15:10:40 -07:00
John MacFarlane
5b29f0f598
MediaWiki reader: Ignore <gallery>
tags.
2012-09-13 14:55:33 -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
4e1a45467c
MediaWiki reader: Parse templates etc. as raw mediawiki.
...
They can be postprocessed with a pandoc script.
2012-09-13 11:25:55 -07:00
John MacFarlane
e3abc2595f
MediaWiki reader: Improved efficiency with raw html tags.
...
Parse one tag, then use a case statement.
2012-09-13 11:18:59 -07:00
John MacFarlane
93fa5df866
MediaWiki reader: Added comment.
2012-09-12 22:51:16 -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
9353af9133
MediaWiki reader: Updated todo comments.
2012-09-12 19:09:45 -07:00
John MacFarlane
bb6fcf1dac
MediaWiki reader: Support <syntaxhighlight>
tag.
2012-09-12 19:05:15 -07:00
John MacFarlane
bbbbee021d
MediaWiki reader: Properly handle :, ::, :::...
2012-09-12 17:40:40 -07:00
John MacFarlane
57ec347c42
MediaWiki reader: Handle def lists without terms (: lines).
2012-09-12 17:30:02 -07:00
John MacFarlane
4e294333b0
MediaWiki reader: Improvements to list parsing and HTML tag handling.
2012-09-12 17:16:05 -07:00
John MacFarlane
bf2666331d
MediaWiki reader: Support skipped level in lists.
...
For example:
# one
# two
### skip!
### skip
2012-09-12 16:47:30 -07:00
John MacFarlane
0fdc6deb08
MediaWiki reader: Fixed charsInTags parser to use innerText.
2012-09-12 16:15:52 -07:00