Skip to content

Latest commit

 

History

History

css

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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">