aboutsummaryrefslogtreecommitdiff
path: root/stack.yaml
AgeCommit message (Collapse)AuthorFilesLines
2017-12-10Changes for skylighting-0.5.John MacFarlane1-2/+1
This fixes a bug in 2.0.4, whereby pandoc could not read the theme files generated with `--print-highlight-style`. It also fixes some CSS issues involving line numbers. Highlighted code blocks are now enclosed in a div with class sourceCode. Highlighting CSS no longer sets a generic color for pre and code; we only set these for class `sourceCode`. This will close #4133 and #4128.
2017-12-04Bump lower bound of hsluaAlbert Krewinkel1-1/+1
The release hslua 0.9.3 contains a new function which makes using Haskell functions as package loaders much easier.
2017-11-30Use latest tagsoup.John MacFarlane1-1/+2
This fixes a bug in parsing tags with `&` following. Closes #4094. Closes #4088.
2017-11-27Use skylighting 0.4.4.1.John MacFarlane1-1/+1
Closes #4103 (wrong color of unmarked code text when numerLines is used).
2017-11-21Use skylighting 0.4.4.John MacFarlane1-1/+1
2017-11-18Lua filters: preload text module (#4077)Albert Krewinkel1-0/+1
The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end
2017-11-11Use pandoc-types 1.17.3John MacFarlane1-1/+1
2017-11-04Use skylighting 0.4.3.2.John MacFarlane1-1/+1
2017-11-03Use texmath 0.10.John MacFarlane1-0/+1
2017-11-03Use latest skylighting.John MacFarlane1-1/+1
2017-11-02Use latest skylighting; ensure no duplicate ids on code lines.John MacFarlane1-1/+1
The line identifiers are built using the code block's identifier as a prefix. If the code block has null identifier, we use "cb1", "cb2", etc. Closes #4031.
2017-10-26Use skylighting 0.4.2.John MacFarlane1-1/+1
This prevents the problem with extra space around highlighted code blocks (closes #3996). Note that we no longer put an enclosing div around highlighted code blocks. The pre is the outer element, just as for unhighlighted blocks.
2017-10-22Back to using alpine-based Dockerfile for linux build.John MacFarlane1-1/+1
2017-10-20Use doctemplates 0.2.1: allows `$--` line comments in templates.John MacFarlane1-2/+2
Closes #3806.
2017-10-05Use hslua v0.9.0Albert Krewinkel1-1/+1
2017-10-03Use latest texmath.John MacFarlane1-1/+1
2017-10-03Use latest texmath.John MacFarlane1-1/+1
2017-09-28Use latest skylighting.John MacFarlane1-1/+1
2017-09-24Use pandoc-types 1.17.2.John MacFarlane1-5/+1
2017-09-23stack.yaml - use new pandoc-citeproc (from git repo).John MacFarlane1-0/+4
2017-09-15Use skylighting 0.4.John MacFarlane1-1/+1
2017-09-14FromJSON/ToJSON instances for Reader, WriterOptions.John MacFarlane1-1/+1
Depends on skylighting 0.3.5.
2017-09-13Use texmath 0.9.4.2 in stack.yaml.John MacFarlane1-0/+1
2017-09-09Use skylighting 0.3.4.1.John MacFarlane1-1/+1
2017-08-23Use lts-9.1 in travis.John MacFarlane1-1/+1
2017-08-20Use pandoc-types 1.17.1. Tests updated for new simpleTable behavior...John MacFarlane1-0/+1
with empty headers.
2017-08-16Update to hslua-0.8.0Albert Krewinkel1-1/+1
hslua no longer provides lua stack instances for Int and Double, the necessary instances are added to the Custom writer and the lua filtering system.
2017-08-13Use hslua >= 0.7, update Lua codeAlbert Krewinkel1-1/+1
2017-08-09Use haddock-library 1.4.3, since 1.4.5 requirse cabal 2.John MacFarlane1-1/+1
2017-08-09Added haddock-library-1.4.5 to stack.yaml for nightly.John MacFarlane1-0/+1
2017-08-09Build config that works with lts-9.0 and nightly.John MacFarlane1-2/+3
2017-08-09Remove cmark from stack.yaml.John MacFarlane1-1/+0
2017-08-07Added gfm (GitHub-flavored CommonMark) as an input and output format.John MacFarlane1-0/+1
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 Note that tables are currently always rendered as HTML in the writer; this can be improved when CMarkGFM supports tables in output.
2017-08-02Use latest cmark.John MacFarlane1-0/+1
2017-06-30Use latest texmath.John MacFarlane1-0/+1
2017-06-04stack.yaml - Use lts-8.16 resolver.John MacFarlane1-1/+1
2017-05-07Remove https flag.John MacFarlane1-1/+0
Supporting two completely different libraries for fetching from URLs makes it difficult to trap errors, because of different error types expected from the libraries. There's no clear reason not to build with these https-capable libraires.
2017-05-02stack.yaml: use lts-8.12.John MacFarlane1-2/+1
This should fix the build failure on travis.
2017-04-22Use foundation-0.0.7.John MacFarlane1-0/+1
See https://github.com/haskell-foundation/foundation/issues/238 for the bug on Windows with 0.0.6.
2017-04-22Use latest skylighting, lts.John MacFarlane1-3/+2
2017-04-14Drop dependency on hslua-aesonAlbert Krewinkel1-1/+0
Pushing values to the lua stack via custom functions is faster and more flexible.
2017-04-09stack.yaml: update foundation to 0.0.6 (#3565)Alexander Krotov1-0/+1
foundation-0.0.4 from lts-8.8 does not build on FreeBSD
2017-04-09Use stack lts-8.8.John MacFarlane1-2/+1
This gives us a newer verison of executable-path, which we need for FreeBSD.
2017-04-01Use latest skylighting.John MacFarlane1-1/+1
This means we no longer need language.dtd when loading custom highlighting definitions. See #3334.
2017-03-24Ensure compatibility with hslua 0.5.*Albert Krewinkel1-1/+2
The 0.5.0 release of hslua fixes problems with lua C modules on linux. The signature of the `loadstring` function changed, so a compatibility wrapper is introduced to allow both 0.4.* and 0.5.* versions to be used.
2017-03-22stack.yaml: Use texmath-0.9.4.John MacFarlane1-1/+1
2017-03-20Lua filters (#3514)Albert Krewinkel1-0/+1
* Add `--lua-filter` option. This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed. Note that lua filters are all applied after regular filters, regardless of their position on the command line. * Add Text.Pandoc.Lua, exporting `runLuaFilter`. Add `pandoc.lua` to data files. * Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module. * Add Tests.Lua to tests. * Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters. * Document in MANUAL.txt.
2017-03-10stack.yaml: Use texmath 0.9.3.John MacFarlane1-1/+1
2017-03-07stack.yamls: use lts-8.4 and texmath-0.9.1.1.John MacFarlane1-1/+2
2017-03-04Require skylighting 0.3.1.John MacFarlane1-1/+1