aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-10Remove writerUserDataDir from WriterOptions.John MacFarlane3-4/+0
It is now carried in CommonState in PandocMonad instances. (And thus it can be used by readers too.)
2017-08-10Removed datadir param from readDataFile and getDefaultTemplate.John MacFarlane6-37/+45
In Text.Pandoc.Class and Text.Pandoc.Template, resp. We now get the datadir from CommonState.
2017-08-10Class: add setUserDataDir and getUserDataDir.John MacFarlane1-5/+21
* Add stUserDataDir to CommonState. * Rename stUserDataDir/stCabalDataDir in PureState to stUserDataFiles/stCabalDataFiles.
2017-08-10Expose getDefaultDataFile in both Shared and Class.John MacFarlane4-7/+18
2017-08-10Added data file to pandoc.cabal.John MacFarlane1-0/+1
2017-08-10RST reader: implement csv-table directive.John MacFarlane4-48/+120
Most attributes are supported, including `:file:` and `:url:`. A (probably insufficient) test case has been added. Closes #3533.
2017-08-10RST reader: Basic support for csv-table directive.John MacFarlane3-1/+157
* Added Text.Pandoc.CSV, simple CSV parser. * Options still not supported, and we need tests. See #3533.
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