aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-14Use latest commonmark-hs in cabal.project.commonmark-hsJohn MacFarlane
2020-05-14Support implicit_figure extension in commonmark reader.John MacFarlane
2020-05-14Use latest commonmark-hs.John MacFarlane
2020-05-14auto_identifiers should not be defined with commonmark.John MacFarlane
Only gfm_auto_identifers.
2020-05-14Make base lower bound 4.10, since we don't support ghc 8.0 any more.John MacFarlane
2020-05-14Note that we support ghc 8.2 to present (not 8.0).John MacFarlane
2020-05-14Update tested-with in pandoc.cabal.John MacFarlane
2020-05-14Remove ghc 8.0.2 CI test.John MacFarlane
2020-05-14Use latest commonmark-hs.John MacFarlane
2020-05-14Set fail-fast to false to diagnose issue.John MacFarlane
2020-05-14Use latest commonmark-hs commit.John MacFarlane
2020-05-14Fix cabal.project.John MacFarlane
2020-05-14Add commonmark_x output format...John MacFarlane
commonmark with a number of useful extensions (more than gfm).
2020-05-14Trim down githubMarkdownExtensions.John MacFarlane
Previously it included all of the following, which make sense for the legacy markdown_github but not for gfm, since they are part of base commonmark and thus can't be turned off in gfm: - `Ext_all_symbols_escapable` - `Ext_backtick_code_blocks` - `Ext_fenced_code_blocks` - `Ext_space_in_atx_header` - `Ext_intraword_underscores` - `Ext_lists_without_preceding_blankline` - `Ext_shortcut_reference_links` ` These have been removed from `githubMarkdownExtensions`, though they're still turned on for legacy `markdown_github`.
2020-05-14Use latest commonmark-hs.John MacFarlane
2020-05-14Use latest commonmark-hs.John MacFarlane
2020-05-14Add generic `attributes` extension.John MacFarlane
This allows attributes to be added to any block or inline element, in principle. (Though in many cases this will be done by adding a Div or Span container, since pandoc's AST doesn't have a slot for attributes for most elements.) Currently this is only possible with the commonmark and gfm readers. Add `Ext_attributes` constructor for `Extension` [API change].
2020-05-14Update to lastest commonmark-hs version.John MacFarlane
2020-05-14Add fenced_code_attributes to gfm/commonmark extensions.John MacFarlane
2020-05-14Update commonmark-hs version.John MacFarlane
2020-05-14Use latest commonmark-hs.John MacFarlane
2020-05-14header_attributes (for now) in commonmark reader.John MacFarlane
2020-05-14Use latest commonmark-hs.John MacFarlane
Fixes ascii identifiers.
2020-05-14Commonmark reader: Update commonmark-hs version and go back...John MacFarlane
to using built-in auto identifiers.
2020-05-14Run commonmark parser in Identity monad.John MacFarlane
So far this is necessary if we want def lists, task lists, and footnotes.
2020-05-14CommonMark reader: Use native pandoc auto_identifiers.John MacFarlane
2020-05-14Update to latest commonmark-hs.John MacFarlane
2020-05-14Update commonmark-hs versionJohn MacFarlane
2020-05-14Intermediate checkpoint for use of commonmark-hs.John MacFarlane
2020-05-13Correct license listed in cabalLila
`GPL-2` is interpreted as GPLv2 only, however the actual license is GPLv2 or later
2020-05-12LaTeX writer: create hypertarget for links with identifier.John MacFarlane
Closes #6360.
2020-05-12Use latest skylighting.John MacFarlane
This adds `aria-hidden="true"` to the empty a elements, which helps people who use screen readers.
2020-05-12Lua: fix regression in package searcherAlbert Krewinkel
This caused `require 'module'` to fail for third party packages. Fixes: #6361
2020-05-10Fix misleading note about image size conversions in MANUAL.John MacFarlane
Closes #6353.
2020-05-08Implement implicit_figures extension for commonmark reader.John MacFarlane
Closes #6350.
2020-05-07Update revealjs template with newly available options (#6347)Jake Zimmerman
I wanted to use an option and realized that the default pandoc template didn't pass it through, so I went through and found all the options that Reveal.js advertises but that Pandoc's template doesn't support. <https://github.com/hakimel/reveal.js#configuration> I also noticed that rollingLinks isn't a setting anymore, but it's fine to keep it in the template because people might be using an old version of Reveal.js (via `revealjs-url`) that still has this option.
2020-05-05Shared.makeSections: omit number attribute when unnumbered class...John MacFarlane
...is present. Previously the attribute was included but given an empty value, and this caused the table of contents creation functions in T.P.Writers.Shared to think these items had numbers, which meant that they were included in the TOC even if the `unlisted` class was used. Closes #6339.
2020-05-05Avoid unnecessary guard (#6340)Joseph C. Sible
2020-05-05Remove unnecessary hlint ignores (#6341)Joseph C. Sible
In modern hlint, the spurious parse errors are gone now that it no longer uses HSE, and it's also smart enough to avoid the bad "Use ==" suggestions itself.
2020-05-04Add needed dependency to stack.yaml.John MacFarlane
2020-05-04Update dependency versions in stack.yaml.John MacFarlane
2020-05-04Revert "Use lts-15.11 stack"John MacFarlane
This reverts commit b78fb2889843c58426fecbe421edf1ba6a4fc76b.
2020-05-04Revert "Windows CI: try adding -fexternal-interpreter as ghc option."John MacFarlane
This reverts commit 47bfcfb406e2980f07fea9c9884f037a0a670f03.
2020-05-04Windows CI: try adding -fexternal-interpreter as ghc option.John MacFarlane
2020-05-04Revert "Try downgrading HsYAML on stack to 0.2.0.0."John MacFarlane
This reverts commit 32d5d6c80ba7d6d58a77abf4b6e98a057db28fae.
2020-05-04Try downgrading HsYAML on stack to 0.2.0.0.John MacFarlane
to deal with the access violation we get in CI windows: https://github.com/jgm/pandoc/runs/643362477?check_suite_focus=true
2020-05-04Revert "Use 'set __COMPAT_LAYER=' in Windows CI builds."John MacFarlane
This reverts commit 030c23e04970570ec6f6aa574da33193366d77a9.
2020-05-04Fix mediawiki reader with gfm_auto_identifiers.John MacFarlane
Previously the `-` was being replaced by `_`. Closes #6335.
2020-05-04Use 'set __COMPAT_LAYER=' in Windows CI builds.John MacFarlane
It is suggested at https://github.com/commercialhaskell/stack/issues/3765 that this may solve the "access violation" we're currently getting on Windows CI with ghc 8.8.
2020-05-04Revert "Try using -fexternal-interpreter to avoid access violation on ↵John MacFarlane
Windows CI." This reverts commit 58115dd07f13be1f62fae0048fe984dea5aaf0a2.