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
85cc140744
Textile reader: Improved handling of <pre>
blocks.
...
* Closed #927 (a bug in which `<pre>` in certain contexts was
not recognized as a code block).
* Remove internal HTML tags in code blocks, rather than printing
them verbatim.
* Parse attributes on `<pre>` tag for code blocks.
2013-07-25 09:45:23 -07:00
John MacFarlane
08631ef1a3
Some test suite fixes for new metadata.
2013-06-25 22:32:50 -07:00
John MacFarlane
50ba5a801a
Textile reader: Correctly handle entities.
2013-06-11 10:16:54 -07:00
John MacFarlane
5e9145bb62
Textile reader: Handle attributes on headers.
...
Includes `[lang]`, `(class #id)`, `{color:red}` styles.
2013-02-16 18:29:12 -08: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
4cd573c61f
Textile reader/writer: Fixed autolinks.
...
Previously the textile reader and writer incorrectly implented
RST-style autolinks for URLs and email addresses.
This has been fixed. Now an autolink is done this way:
"$":http://myurl.com
2012-11-06 16:05:17 -08:00
John MacFarlane
ea8b8114e1
Textile reader: Fixed bug with list items containing line breaks.
...
Now pandoc correctly handles hard line breaks inside list items.
Previously they broke list parsing. Thanks to Pablo
Rodríguez for pointing out the problem.
2012-10-13 10:44:38 -07:00
John MacFarlane
f232034ab0
Textile reader: Implemented comment blocks.
2012-10-05 10:23:15 -07:00
John MacFarlane
c9d1d97a28
Fixed footnotes bug in textile.
...
This affected notes occuring before punctuation, e.g.
`foo[1].`.
Closes #518 .
2012-09-06 10:38:56 -07:00
John MacFarlane
b21363f1d5
Added (failing) test case for #518 .
2012-08-25 22:11:31 -07:00
John MacFarlane
f68b05e74b
Textile reader: properly handle links with surrounding brackets.
...
Square brackets need to be used when the link isn't surrounded by
spaces or punctuation, or when the URL ending may be ambiguous.
Closes #564 .
2012-07-13 14:01:56 -07:00
paul.rivier
75cba828b5
Textile reader: fix for <notextile>
and ==
.
...
Closes #517 .
2012-05-29 17:40:55 -07:00
paul.rivier
7b111542c0
textile reader improvements : better conformance to RedCloth Textile inlines
2012-04-24 15:56:59 +02:00
paul.rivier
411d54ce98
Textile reader quick clean-up and added support for LaTeX blocks and inlines.
2012-04-17 13:14:05 +02:00
John MacFarlane
a579e2c892
Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.
2011-12-27 15:45:34 -08:00
Christoffer Sawicki
8fa4e8bff1
Textile reader: Make it possible to have colons after links.
2011-07-10 16:30:14 +02:00
John MacFarlane
f8dca6ccbc
Add support for attributes in inline Code.
...
Additional related changes:
* URLs in Code in autolinks now use class "url".
* Require highlighting-kate 0.2.8.2, which omits the final <br/> tag,
essential for inline code.
2011-01-26 20:44:25 -08:00
John MacFarlane
bd43c0f4c9
Bumped version to 1.8; depend on pandoc-types 1.8.
...
The old TeX, HtmlInline and RawHtml elements have been removed
and replaced by generic RawInline and RawBlock elements.
All modules updated to use the new raw elements.
2011-01-26 17:22:53 -08:00
John MacFarlane
628a1ef815
Textile reader: Fixed bug (swallowed p at beginning of paragraph).
...
The problem was a missing 'try' in the maybeExplicitBlock parser.
Test case, a paragraph beginning with 'p', has been added.
2011-01-23 08:59:35 -08:00
John MacFarlane
1d683be414
Textile reader: Support <tt> for inline code.
2011-01-23 00:25:05 -08:00
John MacFarlane
50d08ec2c3
Textile reader: Added code blocks with bc.
2011-01-23 00:05:35 -08:00
John MacFarlane
5c35be1362
Make sure native output ends in newline with --standalone.
2011-01-21 09:58:23 -08:00
John MacFarlane
52b6e38425
Updated tests for new native format.
2011-01-20 22:36:40 -08:00
paul.rivier
bb609a85e3
textile redcloth definition lists
2010-12-09 09:25:46 -08:00
John MacFarlane
88a40685b8
Textile reader: better treatment of acronyms.
...
We now parse PBS(Public Broadcasting System) as if it were
"PBS (Public Broadcasting System)".
2010-12-09 08:52:09 -08:00
John MacFarlane
f02080b62d
Textile reader: Implemented footnotes.
2010-12-08 00:44:46 -08:00
John MacFarlane
50ca61ef49
Moved smartPunctuation from Markdown to Parsing.
...
+ Parameterized smartPunctuation on an inline parser.
+ Handle smartPunctuation in Textile reader.
2010-12-07 19:03:08 -08:00
John MacFarlane
f917b46500
Textile reader: implemented acronyms, (tm), (r), (c).
2010-12-07 18:28:36 -08:00
John MacFarlane
d4e512776d
Textile reader: added hrule parser.
2010-12-03 23:10:52 -08:00
John MacFarlane
0356ad4de6
Textile reader: drop leading, trailing newline in pre block.
...
This is consistent with how the other readers work.
2010-12-03 23:10:52 -08:00
John MacFarlane
968748dec1
Textile reader: updated test suite to include raw HTML.
2010-12-03 23:10:52 -08:00
paul.rivier
c3866f3c66
punctuation handling, and more html-specific handling
2010-12-03 23:10:52 -08:00
Paul Rivier
d724c6b568
html inlines and html blocks handling in textile reader
2010-12-03 23:10:51 -08:00
Paul Rivier
fa0866886b
textile reader now ignores html/css attributes
2010-12-03 23:10:51 -08:00
Paul Rivier
593b4f6c94
fix autolink by promoting it in the parser list, fix table parabreak
2010-12-03 23:10:51 -08:00
Paul Rivier
a7da0672dc
more support for Textile reader (explicit links, images), tests and cabal entries
2010-12-03 23:10:51 -08:00