aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-28Fixed bug in footnote order in HTML.John MacFarlane1-1/+1
CircleCode pointed out that the following markdown produces out-of-order footnote markers in HTML: -8<------------------------ some text^[with a footnote which will be #1] issue some other text^[with a footnote which will be #2] -8<------------------------ This fixes the problem.
2011-03-19Added FlexibleInstances pragma.John MacFarlane1-1/+1
Thanks to Sivaram Gowkana for the patch.
2011-03-18Changed uri parser so it doesn't include trailing punctuation.John MacFarlane4-5/+29
So, in RST, 'http://google.com.' should be parsed as a link to 'http://google.com' followed by a period. The parser is smart enough to recognize balanced parentheses, as often occur in wikipedia links: 'http://foo.bar/baz_(bam)'. Also added ()s to RST specialChars, so '(http://google.com)' will be parsed as a link in parens. Added test cases. Resolves Issue #291.
2011-03-16OpenDocument writer: Use "First paragraph" style after most non-para blocks.John MacFarlane3-50/+62
(Not just headers, as in the last patch.) Patch from Andrea Rossato, slightly modified by JM.
2011-03-13Added --epub-cover-image option.John MacFarlane3-10/+59
API change: Added a parameter for the cover image path to writeEPUB. Followed best practices outlined in http://blog.threepress.org/2009/11/20/best-practices-in-epub-cover-images/
2011-03-12Fixed bug in RST field list parser.John MacFarlane2-7/+9
The bug affected field lists with multi-line items at the end of the list.
2011-03-12OpenDocument: Use special style for 1st para after heading.John MacFarlane3-35/+46
"First paragraph" as opposed to "Text body." This allows users to specify e.g. that only paragraphs after the first paragraph of a section are to be indented. Thanks to Andrea Rossato for the patch. Closes github Issue #20.
2011-03-09Fixed orgmode link.John MacFarlane1-1/+1
2011-03-04Fixed lhs-test.nohl tests.John MacFarlane2-40/+8
A previous commit accidentally overwrote them with highlighted tests.
2011-03-02Markdown+lhs reader: Require space after inverse bird tracks.John MacFarlane2-1/+13
The point of the change is to allow html tags to be used freely at the left margin of a markdown+lhs document. Thanks to Conal Elliot for the suggestion.
2011-02-13Bump version to 1.8.1.1 & update changelog.John MacFarlane2-1/+8
2011-02-13markdown2pdf: Removed mistakenly included debugging lines.John MacFarlane1-2/+2
With the lines, markdown2pdf creates a temporary directory in the working directory. Original behavior now restored.
2011-02-13Updated changelog.John MacFarlane1-0/+22
2011-02-13Version bump to 1.8.1.John MacFarlane1-1/+1
2011-02-13markdown2pdf: Fixed filename encoding issues.John MacFarlane1-7/+9
With help from Paulo Tanimoto. Resolves Issue #286.
2011-02-11LaTeX writer: Changed figure defaults to htbp.John MacFarlane2-2/+2
This prevents "too many unprocessed floats." Resolves Issue #285.
2011-02-11UTF8: Encode filenames.John MacFarlane1-2/+3
(This is still needed, even with recent base.) Partially resolves Issue #286 (though now there is a new markdown2pdf problem).
2011-02-06pandoc.hs: Updated copyright notice.John MacFarlane1-3/+3
2011-02-06Revert "Use us-ascii charset in HTML template if --ascii option."John MacFarlane2-9/+0
This reverts commit aec54899606bed2580394baa1369e58ede20fde8. No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06HTML writer: Fixed footnote backrefs in --ascii mode.John MacFarlane1-1/+2
2011-02-06Use us-ascii charset in HTML template if --ascii option.John MacFarlane2-0/+9
2011-02-06Added --ascii option.John MacFarlane4-19/+38
Currently supported only in HTML writer.
2011-02-06Make --toc work in epub output.John MacFarlane1-0/+3
2011-02-05HTML writer: Put line breaks in section divs.John MacFarlane1-2/+4
2011-02-05Make writerSectionDivs default to False.John MacFarlane1-1/+1
2011-02-05Updated copyright.John MacFarlane1-1/+1
2011-02-05Bumped version to 1.8.0.3; updated changelog; fixed source-repository.John MacFarlane2-2/+6
2011-02-05Added Source-repository to cabal file.John MacFarlane1-0/+4
2011-02-05Version bump to 1.8.0.2.John MacFarlane1-1/+1
2011-02-05Updated changelog.John MacFarlane1-1/+31
2011-02-05HTML writer: stringify alt text.John MacFarlane2-2/+6
Previously, if you had formatting in the label of an Image element, you'd get escaped HTML in the alt attribute. Now you just get a plain string version, which seems preferable.
2011-02-05README: Added section on four-space rule for lists.John MacFarlane1-6/+35
Resolves Issue #283.
2011-02-05README: Clarified optional arguments on math options.John MacFarlane1-7/+10
2011-02-04Improved HTML table output (line breaks).John MacFarlane7-70/+187
2011-02-04Updated tests.John MacFarlane8-382/+56
2011-02-04More changes to HTML output.John MacFarlane1-25/+23
Removed blank lines. More consistent format.
2011-02-04HTML writer: Spacing adjustments for Plain and RawHtml blocks.John MacFarlane7-402/+196
2011-02-04Updated tests for new HTML format.John MacFarlane11-1673/+1265
Verified against old tests using tidy and diff.
2011-02-04Improved new HTML format; restored original --no-wrap behavior.John MacFarlane1-52/+76
2011-02-04HTML writer: More normal line breaks.John MacFarlane1-25/+29
Also removes any distinction between --no-wrap and default HTML output. Resolves Issue #134.
2011-02-04Native writer test: in block list test, limit to list < 20 blocks.John MacFarlane1-2/+3
2011-02-04Added cCommented-out round-trip property in markdown reader test.John MacFarlane1-0/+18
2011-02-04Shared: Minor refactoring.John MacFarlane1-1/+4
2011-02-04Improved Arbitrary instance.John MacFarlane1-32/+45
2011-02-04Setup.hs: Added a 5 second timeout for test cases.John MacFarlane1-1/+1
2011-02-04normalize: Normalize spaces too.John MacFarlane2-5/+15
In normal form, Space elements only occur to separate two non-Space elements. So, we never have [Space], or [, ..., Space].
2011-02-04markdown2pdf: Fixed bug with output file extensions.John MacFarlane1-1/+1
Previously 'markdown2pdf test.txt -o test.en.pdf' would produce 'test.pdf', not 'test.en.pdf'. Thanks to Paolo Tanimoto for the fix.
2011-02-01Markdown reader: Simplified and corrected footnote block parser.John MacFarlane2-8/+11
2011-02-01Added 6.10.4 to list of GHC versions test (MacPorts).John MacFarlane1-1/+1
2011-02-01Added a (failing) test for footnotes.John MacFarlane1-1/+4