skylighting-format-blaze-html

HTML formatter for skylighting syntax highlighting library

https://github.com/jgm/skylighting

LTS Haskell 24.59:0.1.2.1
Stackage Nightly 2026-09-14:0.1.2.2
Latest on Hackage:0.1.2.2

See all snapshots skylighting-format-blaze-html appears in

BSD-3-Clause licensed by John MacFarlane
Maintained by [email protected]
This version can be pinned in stack with:skylighting-format-blaze-html-0.1.2.2@sha256:e9f32554e0d76863066908e00a46c4e24fc17c4ce2a230c08fdb9ea22831e27d,1290

Module documentation for 0.1.2.2

Used by 1 package in nightly-2026-09-14(full list with versions):

skylighting-format-blaze-html

This package provides functions to render syntax-highlighting as HTML using the blaze-html HTML combinator library for Haskell.

Changes

Changelog for skylighting-format-blaze-html

0.1.2.2

  • Improve performance of blaze-html formatter.

0.1.2.1

  • Ensure that per-line anchors have aria-labels. Otherwise screen readers will read out the href attribute.

0.1.2

  • Include container classes on inline code. In block code, these are put on the pre, but in inline code there is only a code element; they should not just be dropped. See jgm/pandoc#11423.

0.1.1.3

  • Use -webkit-text-size-adjust instead of unsetting inline-block (#202, Jacke Zimmerman).

0.1.1.2

  • Re-add display: inline-block to code line spans, but only for print media. See jgm/pandoc#9520.

0.1.1.1

  • Remove display: inline-block from the code line spans. This caused odd size changes in iOS. Closes jgm/pandoc#7248.

0.1.1

  • Export formatHtml4Block, which should be used instead of formatHtmlBlock if HTML4 compliance is required.