aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-07Got tables working in reader.commonmark-githubJohn MacFarlane
2017-08-07Use cmark-gfm-0.1.1, which fixes bugs.John MacFarlane
2017-08-03Support GFM extensions in GFM reader.John MacFarlane
2017-08-03Added gfm (GitHub-flavored CommonMark) as an input and output format.John MacFarlane
This uses bindings to GitHub's fork of cmark, so it should parse gfm exactly as GitHub does (excepting certain postprocessing steps, involving notifications, emojis, etc.). * Added Text.Pandoc.Readers.GFM (exporting readGFM) * Added Text.Pandoc.Writers.GFM (exporting writeGFM) * Added `gfm` as input and output forma
2017-08-03Muse reader: do not parse blocks inside comments (#3828)Alexander Krotov
2017-08-02DokuWiki reader: better handling for code block in list item.John MacFarlane
Closes #3824.
2017-08-02Use latest cmark.John MacFarlane
2017-08-02linux/control.in: add Replaces:...John MacFarlane
so existing pandoc-citeproc and pandoc-data packages will be uninstalled; this package provides both. Closes #3822.
2017-07-30Markdown writer: better escaping of `<` and `>`.John MacFarlane
If `all_symbols_escapable` is set, we backslash escape these. Otherwise we use entities as before.
2017-07-30Class: more haddocks.John MacFarlane
2017-07-30Class: Removed unnecessary withMedia, improved haddocks.John MacFarlane
2017-07-26Sorted the list of supported HTML5 attributes and removed duplicates. (#3817)Wandmalfarbe
2017-07-26Small tweak in test (add --wrap=preserve).John MacFarlane
2017-07-26HTML writer: render raw inline environments when --mathjax used.John MacFarlane
We previously did this only with raw blocks, on the assumption that math environments would always be raw blocks. This has changed since we now parse them as inline environments. Closes #3816.
2017-07-26MANUAL: clarify that mathml is used for ODT math.John MacFarlane
2017-07-25HTML writer: insert data- in front of unsupported attributes.John MacFarlane
Thus, a span with attribute 'foo' gets written to HTML5 with 'data-foo', so it is valid HTML5. HTML4 is not affected. This will allow us to use custom attributes in pandoc without producing invalid HTML.
2017-07-25Merge branch 'schrieveslaach-textcolor-support'John MacFarlane
2017-07-25Merge branch 'textcolor-support' of https://github.com/schrieveslaach/pandoc ↵John MacFarlane
into schrieveslaach-textcolor-support
2017-07-24Revert "Travis: Try not caching .cabal."John MacFarlane
This reverts commit 5370c38203c1084d7f81abe582ebfec06ebc7d79.
2017-07-24Revert "Travis: try not caching .ghc."John MacFarlane
This reverts commit 434309802ca86b1862dae4ebf47fd4904876c522.
2017-07-24Travis: try not caching .ghc.John MacFarlane
2017-07-24Travis: Try not caching .cabal.John MacFarlane
Hoping this solves the problems with recent builds.
2017-07-24Revert "Use cabal-2.0 for 8.2.1 (#3814)"John MacFarlane
This reverts commit d8f07fad09f3b5b0c586dd8a4ba23b19efef6152.
2017-07-24LaTeX reader: support etoolbox's ifstrequal.John MacFarlane
2017-07-24LaTeX reader: removed code for non-exported 'macro'.John MacFarlane
2017-07-24Use cabal-2.0 for 8.2.1 (#3814)Matthew Pickering
2017-07-24Added a test case with `markdown-latex_macros`.John MacFarlane
2017-07-24LaTeX reader: Removed 'macro'.John MacFarlane
It is no longer necessary, since the rawLaTeXBlock parser will parse macro definitions. This also avoids the need for a separate latexMacro parser in the Markdown reader.
2017-07-24LaTeX reader: some improvements in macro parsing.John MacFarlane
Fixed applyMacros so that it operates on the whole string, not just the first token! Don't remove macro definitions from the output, even if Ext_latex_macros is set, so that macros will be applied. Since they're only applied to math in Markdown, removing the macros can have bad effects. Even for math macros, keeping them should be harmless.
2017-07-24Refactored some common code in LaTeX reader.John MacFarlane
2017-07-22HTML Reader: parse figure and figcaption (#3813)Mauro Bieg
2017-07-21LaTeX reader: improved heuristic for raw block/inline.John MacFarlane
An unknown command at the beginning of the line that could be either block or inline is treated as block if we have a sequence of block commands followed by a newline or a `\startXXX` command (which might start a raw ConTeXt environment).
2017-07-21Added TikiWiki reader (#3800)rlpowell
Added TikiWiki reader, including tests and documentation. It's probably not *complete*, but it works pretty well, handles all the basics (and some not-so-basics).
2017-07-21Muse reader: fix reading of lists inside tags (#3802)Alexander Krotov
2017-07-21LaTeX reader: handle optional args in raw `\titleformat`.John MacFarlane
Closes #3804.
2017-07-19Templates: change signature of getDefaultTemplate.John MacFarlane
Now it runs in any instance of PandocMonad, and returns a String rather than an Either value.
2017-07-19Class: started adding haddocks.John MacFarlane
2017-07-19LaTeX reader: fixed regression with starred environment names.John MacFarlane
Closes #3803.
2017-07-15Travis: Removed ghc 8.2.1 build from allowed failures.John MacFarlane
2017-07-15Fix docx writer test for ghc 8.2.1.John MacFarlane
Workaround for different behavior of Data.Unique in different ghc versions.
2017-07-15Don't rely on listDirectory, which is only in newer versions...John MacFarlane
of directory.
2017-07-15Rearrange docx writer roundtrip test.John MacFarlane
I'm hoping this gives reproducible results on ghc 8.2.1.
2017-07-14Refactored compareOutput in docx writer testJohn MacFarlane
2017-07-14Class: make addToFileTree handle directories recursively.John MacFarlane
2017-07-14Class: remove stFontFiles in PureState, 'glob' searches stFiles.John MacFarlane
2017-07-14Class: added addToFileTreeJohn MacFarlane
2017-07-14Fix ghc 8.2.1 compiler warnings.John MacFarlane
2017-07-14Revert "Fixed some ghc 8.2 compiler warnings."John MacFarlane
This reverts commit e22dc98a70d030cc6b4056d14ddd6462c7790f97.
2017-07-14Fixed some ghc 8.2 compiler warnings.John MacFarlane
(Unnecessary type constraints.)
2017-07-13Use foldrWithKey instead of deprecated foldWithKey.John MacFarlane