aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-08Fixed haddock test output.John MacFarlane2-9/+9
- omit extra spaces in list items - correct line breaks in ghci output
2013-04-04Haddock reader: add tests.David Lazar2-1/+95
2013-04-04Haddock reader: leaving Space alone in @...@ seems more semantically correct.David Lazar1-1/+0
2013-04-04Haddock reader: derive Show for Token, making debugging easier.David Lazar1-1/+1
2013-03-31LaTeX reader: Support `\textasciitilde`, `\textasciicircum`.John MacFarlane1-0/+2
Closes #810.
2013-03-30Docx writer: Use Compact style for Plain block elements.John MacFarlane3-3/+9
This differentiates between tight and loose lists. Closes #775.
2013-03-30Merge pull request #808 from davidlazar/masterJohn MacFarlane3-12/+16
Improvements to Haddock reader
2013-03-29Haddock reader: make clearer which production the comment refers to.David Lazar1-2/+3
2013-03-29Haddock reader: add the "haskell" attribute to code blocks so they areDavid Lazar1-4/+4
highlighted. We reasonably assume that code blocks in Haddock markup wont be used for anything but Haskell code.
2013-03-29Haddock reader: improved error reporting.David Lazar3-6/+9
2013-03-28Parsing: Better error reporting in readWith.John MacFarlane2-5/+15
- Specialize readWith to String input. - On error have it print the line in which the error occurred, with a caret pointing to the column. - This should help diagnose parsing problems in LaTeX especially.
2013-03-28Haddock writer: use 'text' builder instead of 'str'.John MacFarlane1-3/+10
This articulates strings into Str, Space, allowing them to be hard-wrapped intelligently by the writers. This patch also fixes a bug with trailing spaces and newlines. (See #806.)
2013-03-28Allow simple tables to be printed as grid tables.John MacFarlane1-11/+14
if other table options are disabled. This means you can do pandoc -t markdown-pipe_tables-simple_tables-multiline_tables and all tables will render as grid tables.
2013-03-28Modified haddock reader test stubs so they pass, for now.John MacFarlane2-2/+1
2013-03-28Added stubs for haddock reader tests.John MacFarlane4-0/+9
Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
2013-03-28Documented haddock reader in README.John MacFarlane1-5/+7
2013-03-28Mention haddock reader in cabal description.John MacFarlane1-8/+9
2013-03-28Add reader for Haddock markup based on Haddock's own lexer/parser.David Lazar5-1/+395
2013-03-28Parsing: Further improvements to uri parser.John MacFarlane1-2/+4
Don't treat punctuation before percent-encoding as final punctuation. Don't treat '+' as final punctuation.
2013-03-28Mediawiki reader: Fixed | links inside table cells.John MacFarlane1-10/+8
Improved attribute parsing.
2013-03-28Mediawiki reader: Fixed last commit.John MacFarlane1-1/+1
2013-03-28MediaWiki reader: Correctly handle indented preformatted textJohn MacFarlane3-5/+24
without preceding or following blank line.
2013-03-28Mediawiki: Fixed regression for `<ref>URL</ref>`.John MacFarlane3-2/+4
`<` is no longer allowed in URLs, according to the uri parser in Text.Pandoc.Parsing. Added a test case.
2013-03-27mediawiki reader: allow space before table rows.John MacFarlane1-4/+5
2013-03-26Removed blaze_html_0_5 flag, require blaze-html >= 0.5.John MacFarlane2-13/+1
Reason: < 0.5 does not provide a monoid instance for Attribute, which is now needed by the HTML writer. Closes #803.
2013-03-26SelfContained: handle src in embed, audio, source, input tags.John MacFarlane1-9/+4
2013-03-26Shared: openURL now follows redirects.John MacFarlane1-8/+10
Closes #701.
2013-03-25SelfContained: strip off fragment, query of relative URLJohn MacFarlane1-4/+8
before treating as a filename. This fixes `--self-contained` when used with CSS files that include web fonts using the method described here: http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/ Examples from reveal.js themes: "../../lib/font/league_gothic-webfont.eot?#iefix" "../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular" Closes #739.
2013-03-25Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane4-6/+3022
Reason: some browsers have trouble with the gzipped js file, at least on the local file system. Closes #795.
2013-03-24EPUB writer: Don't put blank title page in reading sequence.John MacFarlane1-1/+4
Set linear="no" if no title block. Addresses #797.
2013-03-24EPUB writer: Add `id="toc-title"` to h1 in nav.xhtml.John MacFarlane1-1/+1
Closes #799.
2013-03-24Fixed typo. Closes #798.John MacFarlane1-1/+1
2013-03-24Added note on nesting of section levels in revealjs.John MacFarlane1-0/+5
2013-03-24Added syntax for "pauses" in beamer or reaveljs slide shows.John MacFarlane3-30/+52
This gives . . . a pause.
2013-03-24revealjs template: include pdf stylesheet by default.John MacFarlane1-7/+5
2013-03-23Documented revealjs in README and pandoc.cabal description.John MacFarlane2-14/+23
2013-03-23Reveal.js improvements.John MacFarlane4-3/+4
Changed name to revealjs (from reveal_js). Set revealjs-url template variable to 'reveal.js' by default.
2013-03-23New revealjs template.John MacFarlane1-6/+6
2013-03-23Added default.revealjs template to cabal file.John MacFarlane1-0/+1
2013-03-22Updated templates to include reveal.js.John MacFarlane1-0/+8
2013-03-21reveal_js: nested vertical stacks used for hierarchical structure.John MacFarlane1-2/+4
Variant of a patch from jamiefolson. Results for more than one level of nesting may be odd. Perhaps this needs revising.
2013-03-21Support incremental slide view for definition lists.John MacFarlane1-11/+12
All slide formats supported. Simplified some list code.
2013-03-21Added basic support for reveal.js.Jamie F. Olson6-23/+21
Support unordered and ordered lists with "fragment" elements. Modified by JGM to remove the --reveal_js-url command-line option. Instead use -V reveal_js-url=... as with slidy and the other slide formats. Also cleaned up the list code in the HTML writer.
2013-03-20EPUB writer: Don't add dc:creator tags if present in epub metadata.John MacFarlane1-1/+1
2013-03-20Updated instructions for submodules to avoid confusion.Jamie F. Olson1-1/+1
2013-03-20Added OPML template, tests.John MacFarlane7-116/+192
Minor fixes to OPML writer. Improved OPML reader tests.
2013-03-20OPML reader: Type attributes are not case sensitive.John MacFarlane1-2/+2
So, `type="link"` or `type="LINK"`.
2013-03-20Documented OPML writer in README.John MacFarlane1-10/+10
2013-03-19Added Text.Pandoc.Writers.OPML.John MacFarlane5-2/+95
TODO: * Document in README * Add tests * Add template (and add template to cabal file)
2013-03-19Merge branch 'opml'John MacFarlane8-4/+268