diff options
| author | Albert Krewinkel <[email protected]> | 2024-09-21 15:12:27 +0200 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2024-09-21 15:20:34 +0200 |
| commit | 8aa796f30ad4e434c948f3961c59f98e8a58270b (patch) | |
| tree | f665231d00146da57b280fc72515e005b9042e1e /stack.yaml | |
| parent | bff35172e3119c1e023ea7fdf9a7d59cceb2804d (diff) | |
Lua: support character styling via `pandoc.layout`
The `Doc` values produced and handled by the `pandoc.layout` module can
now be styled using `bold`, `italic`, `underlined`, or `strikeout`. The
style is ignored in normal rendering, but becomes visible when rendering
to ANSI output. The `pandoc.layout.render` function now takes a third
parameter that defines the output style, either *plain* or *ansi*.
Diffstat (limited to 'stack.yaml')
| -rw-r--r-- | stack.yaml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stack.yaml b/stack.yaml index 1c9f770ec..ad566823d 100644 --- a/stack.yaml +++ b/stack.yaml @@ -20,8 +20,7 @@ extra-deps: - doctemplates-0.11.0.1 - texmath-0.12.8.10 - typst-0.6 -# even though the resolver has this version, we need the Hackage revision: -- hslua-module-doclayout-1.1.1.2 +- hslua-module-doclayout-1.2.0 - pandoc-lua-marshal-0.2.8 - git: https://github.com/jgm/commonmark-hs subdirs: [commonmark, commonmark-pandoc] |
