Title, stylesheet link, highlighter config, and simple approximate highlighting

This commit is contained in:
Tony Garnock-Jones 2019-08-18 16:39:53 +01:00
parent 1a84c3f609
commit 7d2ffe640d
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
---
---
<title>Preserves: a tutorial</title>
<link rel="stylesheet" href="preserves.css">
# Preserves: a tutorial
By Christopher Lemmer Webber and Tony Garnock-Jones

View File

@ -1,4 +1,7 @@
# exclude: [implementations]
markdown: kramdown
highlighter: rouge
baseurl: "/preserves"
url: "/"

View File

@ -77,3 +77,17 @@ th {
td {
padding-right: 0.5rem;
}
/*---------------------------------------------------------------------------*/
/* Rouge syntax classes */
pre.highlight span.dl { color: #888; }
pre.highlight span.k { color: #4f81bd; }
pre.highlight span.kc { color: #4f81bd; }
pre.highlight span.kd { color: #4f81bd; }
pre.highlight span.nb { color: #4f81bd; }
pre.highlight span.nl { color: #4f81bd; }
pre.highlight span.nx { color: #4f81bd; }
pre.highlight span.o { color: #4f81bd; }
pre.highlight span.p { color: #888; }
pre.highlight span.s2 { color: #ff8844; }