aboutsummaryrefslogtreecommitdiff
path: root/test/writer.docbook5
AgeCommit message (Collapse)AuthorFilesLines
2018-09-19Markdown reader: distinguish autolinks in the AST.John MacFarlane1-3/+3
With this change, autolinks are parsed as Links with the `uri` class. (The same is true for bare links, if the `autolink_bare_uris` extension is enabled.) Email autolinks are parsed as Links with the `email` class. This allows the distinction to be represented in the URI. Formerly the `uri` class was added to autolinks by the HTML writer, but it had to guess what was an autolink and could not distinguish `[http://example.com](http://example.com)` from `<http://example.com>`. It also incorrectly recognized `[pandoc](pandoc)` as an autolink. Now the HTML writer simply passes through the `uri` attribute if it is present, but does not add anything. The Textile writer has been modified so that the `uri` class is not explicitly added for autolinks, even if it is present. Closes #4913.
2017-08-21Small improvement to #3855 - move lang attribute up.John MacFarlane1-2/+1
So we don't have a dangling line with the closing `>` when `lang` is not set.
2017-08-21docbook5 template: use lang and subtitle variables (#3855)Jens Getreu1-1/+2
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-6/+0
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+1397