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
/built-in-styles/
— Standalone CSS files of pandoc's eight built-in highlighting styles./sass-templates/
— Sass templates for creating custom highlighting themes.
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 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">