aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-07Improved syntax for markdown definition lists.fiddlosopher34-276/+968
Definition lists are now more compatible with PHP Markdown Extra. Resolves Issue #24. + You can have multiple definitions for a term (but still not multiple terms). + Multi-block definitions no longer need a column before each block (indeed, this will now cause multiple definitions). + The marker no longer needs to be flush with the left margin, but can be indented at or two spaces. Also, ~ as well as : can be used as the marker (this suggestion due to David Wheeler.) + There can now be a blank line between the term and the definitions. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1656 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-07Blank lines after lists in MediaWiki writer.fiddlosopher1-6/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1655 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-07Changed markdown2pdf.hs so it prints error messages on last attempt.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1654 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-07Removed reference to html2markdown wrapper in wrapper flag description.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1653 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Allow markdown tables without headers.fiddlosopher2-32/+88
Resolves Issue #50. The new syntax is described in README. Also allow optional line of dashes at bottom of simple tables. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1652 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Docbook writer: add ids to sections. Use link for internal links.fiddlosopher2-34/+37
See Issue #60. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1651 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Added --id-prefix option.fiddlosopher5-10/+36
This adds a prefix to all automatically generated HTML identifiers, which helps prevent duplicate identifiers when you're generating a fragment (say a blog post). Added writerIdentifierPrefix to WriterOptions. Resolves Issue #41. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1650 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Markdown reader: Compensate for width of final table column.fiddlosopher1-1/+11
Resolves Issue #144. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1649 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Fixed handling of footnotes in titles (HTML) and headers (LaTeX).fiddlosopher2-16/+28
Resolves Issues #137. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1648 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Added stripTags to Text.Pandoc.XML.fiddlosopher1-1/+12
This is used in the HTML writer. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1647 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Markdown reader: Treat a backslash followed by a newline as hard linebreak.fiddlosopher5-6/+25
Resolves Issue #154. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1646 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Added "head" to list of HTML block-level tags.fiddlosopher2-1/+4
Resolves Issue #108. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1645 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Updated changelog.fiddlosopher1-0/+15
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1644 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-05Changed --default-code-classes -> --indented-code-classes.fiddlosopher5-11/+12
Also changed stateDefaultCodeClasses -> stateIndentedCodeClasses. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1643 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Bumped version to 1.3 in inno setup script.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1642 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Version bump to 1.3 (because of change to ParserState).fiddlosopher2-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1641 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Install pcre3 dll in windows setup.fiddlosopher1-20/+3
This is required for highlighting. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1640 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Added pcre3.dll and license to windows directory.fiddlosopher2-0/+68
This is needed for the windows package. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1639 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Allow . and ~ in header identifiers.fiddlosopher2-2/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1638 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Added --default-code-classes option.fiddlosopher5-4/+28
This specifies classes to use for indented code blocks. Thanks to buttock for the (slightly modified) patch. Resolves Issue #87. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1637 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-12-01Updated README section on header identifiers.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1636 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-29Allow _ character in automatically generated identifiers.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1635 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-29Markdown reader: treat 4 or more * or _ in a row as literal text.fiddlosopher1-0/+7
(Instead of trying to parse as strong or emph, which leads to exponential performance problems.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1634 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-29Markdown reader: Use + rather than %20 for spaces in URLs.fiddlosopher2-4/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1633 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28Updated changelog.fiddlosopher1-0/+9
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1632 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28Better looking simple tables. Resolves Issue #180.fiddlosopher23-208/+214
* Markdown reader: simple tables are now given column widths of 0. * Column width of 0 is interpreted as meaning: use default column width. * Writers now include explicit column width information only for multiline tables. (Exception: RTF writer, which requires column widths. In this case, columns are given equal widths, adding up to the text width.) * Simple tables should now look better in most output formats. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1631 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28Bumped version to 1.2.2 and updated changelog.fiddlosopher2-11/+23
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1630 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28Markdown reader: parse refs and notes in the same pass.fiddlosopher2-21/+14
Previously the markdown reader made one pass for references, a second pass for notes (which it parsed and stored in the parser state), and a third pass for the rest. This patch achieves a 10% speed improvement by storing the raw notes on the first (reference) pass, then parsing them when the notes are inserted into the AST. This eliminates the need for a second pass to parse notes. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1629 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28Added \int to characters handled as unicode in tex math.fiddlosopher1-0/+1
Resolves Issue #177. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1628 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-28Makefile: Don't try to build man pages in build-doc.fiddlosopher1-2/+2
They are now built by Cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1627 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22Updated changelog.fiddlosopher1-0/+68
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1626 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22Version bump to 1.2.1.1.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1625 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22Modified markdown2pdf so as not to create a backup file.fiddlosopher2-18/+3
Resolves Issue #166. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1624 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-22Added markdown2pdf.1 to tmp-files in cabal.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1623 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21Use utf8-string IO in markdown2pdf.hs.fiddlosopher1-2/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1622 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21Fixed htmlComment parser.fiddlosopher1-1/+1
(Added a needed try.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1621 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-21Modified html+lhs output to use 'haskell' highlighter.fiddlosopher4-34/+37
The bird tracks are added in the highlighting module. This makes sense, because the kate's haskell highlighter is much better than the literateHaskell highlighter. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1620 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-17Support for "..code-block" directive in RST reader.fiddlosopher3-0/+20
Not core RST, but used in Sphinx for code blocks annotated with syntax information. Thanks to Luke Plant for the patch. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1619 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-03Specially mark code blocks that were "literate" in the input.fiddlosopher8-7/+11
They can then be treated differently in the writers. This allows authors to distinguish bits of the literate program they are writing from source code examples, even if the examples are marked as Haskell for highlighting. Resolves Issue #174. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1618 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-01Set utf-8 encoding in texinfo headers.fiddlosopher2-3/+5
Resolves Issue #153. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1617 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-01Changed heuristic in compactify.fiddlosopher1-19/+15
compactify has to decide whether a Para that ends a list is a Para intentionally, or just because of the blank lines at the end of every list. In the latter case the Para is turned to a Plain. The old heuristic was: change final Para to Plain iff the other items all end in Plain. This produces bad results when, for example, an item contains just a Plain and an HTML comment, as it - a <!-- - b --> -c The new heuristic: change final Para to Plain iff the other items don't contain a Para. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1616 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-11-01Properly handle commented-out list items in markdown.fiddlosopher4-4/+17
Example: - a <!-- - b --> - c Resolves Issue #142. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1615 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-31Don't build Haskell wrappers in Makefile.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1614 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-31Added link to pandoc-mode for emacs to website.fiddlosopher1-1/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1613 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-29Added % as an rst underline character.fiddlosopher1-1/+1
Resolves Issue #173. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1612 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-24Updated COPYRIGHT file.fiddlosopher1-30/+13
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1611 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-14Updated HCAR report.fiddlosopher1-9/+11
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1610 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-12Fix inline math parser so that \$ is allowed in math.fiddlosopher3-4/+15
Resolves Issue #169. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1609 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-10-04Added haddock comments warning that readers assume \n line endings.fiddlosopher6-5/+14
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1608 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-08-22Fixed markdown2pdf.hs to accept --longopt=val options.fiddlosopher1-9/+14
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1607 788f1e2b-df1e-0410-8736-df70ead52e1b