aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-10Slidy writer: use h1 for all slides...John MacFarlane1-1/+5
even if they were originally level 2 headers. Otherwise the built-in table of contents in Slidy breaks. Closes #3566.
2017-08-09RST reader: reorganize block parsers for ~20% faster parsing.John MacFarlane1-3/+4
2017-08-09RST writer: don't wrap term in definition list.John MacFarlane1-1/+1
Wrapping is not allowed.
2017-08-09Removed spurious comments.John MacFarlane1-4/+0
2017-08-09EPUB writer: don't strip formatting in TOC.John MacFarlane1-10/+23
Closes #1611.
2017-08-09Reorganized Makefile.John MacFarlane1-6/+8
2017-08-09Makefile: use nightly + colored output for quick.John MacFarlane1-1/+1
2017-08-09Makefile: use nightly.John MacFarlane1-1/+1
2017-08-09Use haddock-library 1.4.3, since 1.4.5 requirse cabal 2.John MacFarlane2-2/+2
2017-08-09Added haddock-library-1.4.5 to stack.yaml for nightly.John MacFarlane2-0/+2
2017-08-09Build config that works with lts-9.0 and nightly.John MacFarlane3-6/+8
2017-08-09Support svg in PDF output, converting with rsvg2pdf.John MacFarlane1-3/+12
Closes #1793.
2017-08-09stack.pkg.yaml - add cmark-gfm.John MacFarlane1-1/+1
2017-08-09Remove cmark from stack.yaml.John MacFarlane1-1/+0
2017-08-09Org reader: use org-language attribute rather than data-org-language.John MacFarlane2-10/+10
2017-08-09Org reader: use tag-name attribute instead of data-tag-name.John MacFarlane2-2/+2
2017-08-09LaTeX reader: Use `label` instead of `data-label` for label in caption.John MacFarlane2-2/+2
See d441e656db576f266c4866e65ff9e4705d376381, #3639.
2017-08-09HTML reader: parse <main> like <div role=main>. (#3791)bucklereed2-7/+26
* HTML reader: parse <main> like <div role=main>. * <main> closes <p> and behaves like a block element generally
2017-08-09Muse reader: simplify tableCell implementation (#3846)Alexander1-3/+1
2017-08-08Travis: more options tweaks.John MacFarlane1-3/+3
2017-08-08Don't put fancy warnings in pandoc.cabal ghc-options.John MacFarlane1-1/+1
2017-08-08Travis: don't use -Wincomplete-uni-patterns.John MacFarlane1-1/+1
2017-08-08Travis: Don't use -Wcompat.John MacFarlane1-1/+1
2017-08-08Travis: only use fancy warnings for recent ghc.John MacFarlane1-6/+6
2017-08-08RST reader: support :widths: attribute for table directive.John MacFarlane1-3/+13
2017-08-08Use extra ghc warnings.John MacFarlane2-3/+3
In addition to `-Wall`: `-Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances`
2017-08-08Parsing: added gobbleSpaces.John MacFarlane1-0/+12
This is a utility function to use in list parsing.
2017-08-08Removed redundant import.John MacFarlane1-1/+0
2017-08-08Muse writer: update test results (#3845)Alexander1-3/+6
2017-08-08Muse writer: insert two blanklines between lists of the same type (#3844)Alexander2-1/+96
2017-08-08Templates: Have gfm use commonmark template.John MacFarlane1-0/+1
2017-08-08CommonMark writer: avoid excess blank lines at end of output.John MacFarlane2-9/+1
2017-08-08Thread options through CommonMark reader.John MacFarlane2-81/+85
This is more efficient than doing AST traversals for emojis and hard breaks. Also make behavior sensitive to `raw_html` extension.
2017-08-08Support `hard_line_breaks` in CommonMark reader.John MacFarlane1-0/+7
2017-08-08Document `gfm` in MANUAL.John MacFarlane1-7/+13
Closes #3509.
2017-08-08CommonMark writer: support `hard_line_breaks`, `smart`.John MacFarlane2-8/+118
Add tests.
2017-08-08Writers.Shared.unsmartify: undo literal double curly quotes.John MacFarlane1-0/+3
Previously we left these.
2017-08-08CommonMark reader: support `emoji` extension.John MacFarlane1-1/+19
2017-08-08CommonMark reader: support `gfm_auto_identifiers`.John MacFarlane2-1/+34
Added `Ext_gfm_auto_identifiers`: new constructor for `Extension` in `Text.Pandoc.Extensions` [API change]. Use this in githubExtensions. Closes #2821.
2017-08-08CommonMark writer: Support pipe tables.John MacFarlane1-16/+75
We bypass the commonmark writer from cmark and construct our own pipe tables, with better results. (Note also that cmark-gfm currently doesn't support rendering table nodes; see kivikakk/cmark-gfm-hs#3.)
2017-08-08CommonMark writer: support table, strikethrough extensions...John MacFarlane1-59/+90
when enabled (as with gfm). Note: because of limitations in cmark-gfm, which will hopefully soon be corrected, this currently gives an error on Tables. Also properly support `--wrap=none`.
2017-08-08Fix `blanklines' documentation (#3843)Alexander1-2/+2
2017-08-07CommonMark reader: make exts depend on extensions.John MacFarlane1-2/+4
2017-08-07Remove GFM modules; use CMarkGFM for both gfm and commonmark.John MacFarlane8-390/+67
We no longer have a separate readGFM and writeGFM; instead, we'll use readCommonMark and writeCommonMark with githubExtensions. It remains to implement these extensions conditionally. Closes #3841.
2017-08-07Issue deprecation warning for `markdown_github`.John MacFarlane1-1/+5
Advise to use `gfm` instead.
2017-08-07Logging: Added Deprecated constructor to LogMessage.John MacFarlane1-5/+9
2017-08-07Man writer: removed some unneeded imports.John MacFarlane1-2/+0
2017-08-07Added Deprecated warning to LogMessage.John MacFarlane1-0/+7
2017-08-07Man writer: avoid error for def lists with no definitions.John MacFarlane1-9/+12
Closes #3832.
2017-08-07Markdown reader: fixed spurious parsing as citation as reference def.John MacFarlane2-2/+19
We now disallow reference keys starting with `@` if the `citations` extension is enabled. Closes #3840.