Skip to content

Latest commit

 

History

History
71 lines (40 loc) · 2.07 KB

README.md

File metadata and controls

71 lines (40 loc) · 2.07 KB

Skylighting CSS

pandoc v2.7.2 | v1.19.2

A collection of CSS/SCSS resources for styling code blocks syntax-highlighted by pandoc (HTML documents).


Table of Contents


Resources List

  • /built-in-styles/ — Standalone CSS files of pandoc's eight built-in highlighting styles.
  • /sass-templates/ — Sass templates for creating custom highlighting themes.

Breaking Changes

Beware of some important changes in pandoc v2.x relases regarding the way code is syntax highlighted. Some of these changes will require modification of custom CSS sytlesheets created for previous versions.

Pandoc v2.0.4

Pandoc 2.0.4 introduced some changes in the html tags used for highlighting source code.

Source lines now use <a> tag instead of <div>:

pandoc 2.0–2.0.3:

<div class="sourceLine">

pandoc >=2.0.4:

<a class="sourceLine">