Support light&dark syntax on code blocks.
This commit is contained in:
parent
fe052d3468
commit
b9ac52a1a9
3 changed files with 14 additions and 4 deletions
|
@ -609,7 +609,7 @@ def render_as_document(headline, doc, headlineLevel, graph, title):
|
|||
<title>{title} @ {SITE_NAME}</title>
|
||||
<meta http-equiv="refresh" content="0;./{topLevelHeadline.id}.node.html#{headline.id}" />
|
||||
<link href="../static/style.css" rel="stylesheet"/>
|
||||
<link href="../static/light-syntax.css" rel="stylesheet"/>
|
||||
<link href="../static/syntax.css" rel="stylesheet"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
|
@ -699,7 +699,7 @@ def as_document(html, title):
|
|||
<meta charset="utf-8">
|
||||
<title>{title} @ {SITE_NAME}</title>
|
||||
<link href="../static/style.css" rel="stylesheet"/>
|
||||
<link href="../static/light-syntax.css" rel="stylesheet"/>
|
||||
<link href="../static/syntax.css" rel="stylesheet"/>
|
||||
<script type="text/javascript">
|
||||
function toggle_expand(header_id) {{
|
||||
var e = document.getElementById(header_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue