All Versions
Latest Version
Avg Release Cycle
41 days
Latest Release

Changelog History
Page 6

  • v0.4.4 Changes

    November 21, 2017
    • HTML formatter: always use an a element (rather than a div) for source lines. The divs were invalid, because code elements must contain phrasing content. Previously we used a elements when line anchors were called for, but there is no clear reason not to use them always.
    • skylighting binary: add doctype to generated HTML.
  • v0.4.4.1 Changes

    November 27, 2017
    • HTML formatting: fix color, bgcolor when numbering enabled. Previously, the code got the color and background color the numbers were supposed to get. See jgm/pandoc #4103.
    • Updated syntax descriptions for bash, clojure, commonlisp, diff, dockerfile, doxygen, doxygenlua, fsharp, hamlet, haskell, haxe, java, javascript, julia, latex, literate-curry, literate-haskell, makefile, mediawiki, monobasic, ocaml, prolog, r, relaxng, scala, sci, sql-mysql, sql-postgresql, sql, xslt.
    • test program: use --accept instead of --regen.
  • v0.4.3 Changes

    November 02, 2017
    • FormatOptions: added lineIdPrefix (jgm/pandoc#4031). This is needed because a web page may contain several code samples, and we need to make sure that the ids on lines are unique.
    • HTML formatter: use lineIdPrefix in ids for lines.
    • HTML formatter: Don't put href attributes on divs.
  • v0.4.3.2 Changes

    November 04, 2017
    • Fixed regression in data-line-number attributes in HTML output. We should not include the lineIdPrefix in front of this.
  • v0.4.3.1 Changes

    November 03, 2017
    • Fixed typo in css (Artymort).
    • Fixed travis build times.
  • v0.4.2 Changes

    October 26, 2017
    • HTML output: remove outer div. This prevented margin collapsing between the pre and surrounding block elements, and often gave us excess white space around code blocks. See jgm/pandoc#3996.
  • v0.4.1 Changes

    September 28, 2017
    • Updated XML definitions from KDE repository. Changed: actionscript, ada, agda, alert, alert_indent, asn1, awk, bash, boo, c, changelog, clojure, cmake, coldfusion, commonlisp, cpp, cs, css, curry, d, dockerfile, dot, doxygen, doxygenlua, eiffel, email, erlang, fortran, fsharp, gcc, haskell, haxe, isocpp, java, javascript, jsp, julia, lilypond, lua, m4, makefile, matlab, maxima, mips, modelines, modula-2, monobasic, objectivec, objectivecpp, ocaml, octave, opencl, pascal, perl, php, pike, postscript, prolog, purebasic, python, r, relaxng, relaxngcompact, rest, rhtml, ruby, rust, scala, scheme, sci, sql-mysql, sql-postgresql, sql, tcl, tcsh, verilog, vhdl, xml, xslt, xul, zsh.
    • Added support for powershell, using definition from KDE repository.
    • Stop terminating long builds on TravisCI (Kyle Ondy).
  • v0.4 Changes

    September 15, 2017
    • Removed ToJSON/FromJSON instances for KeywordAttr, WordSet, Matcher, Context, ContextSwitch, Rule, Syntax (added in 0.3.5). Creating these increased the memory requirements for compiling skylighting to a degree not justified by the usefulness of these instances.
  • v0.3.5 Changes

    September 14, 2017
    • Added ToJSON/FromJSON instances for all basic types.
    • Added some background colors to 'kate' style, matching default.theme, and made FromJSON for Style sensitive to background-color.
  • v0.3.4 Changes

    September 09, 2017
    • HTML formatting changes (David Baynard). Note that these changes may require changes in hard-coded CSS that is used with skylighting's HTML output.

      • Wrap lines of source code in a div with display set to inline-block. The divs make per-line processing easier. They cannot be set as display: block as that introduces extra new lines when copying and pasting.
      • Render line numbers in html using CSS pseudo elements rather than a table. The line numbers are always produced, as data-line-number attributes, and css to display them as ::before elements are always produced. The option to switch on line numbering only toggles a class; this means it is possible to toggle line numbering without re-running skylighting.
      • If the linkAnchors option is set, wrap with an a element rather than a div, set so that clicking the line number (and only the line number) will jump to that line.
      • Code wraps by default when html is printed, with wrapped lines indented.