dots


dots / scripts / Scripts / pandoc
xxwhirlpool  ·  2025-12-26

md2html.html

  1<!DOCTYPE html>
  2<html lang="en">
  3
  4<head>
  5	<meta charset="utf-8" />
  6	<meta name="generator" content="pandoc" />
  7	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  8	$for(author-meta)$
  9	<meta name="author" content="$author-meta$" />
 10	$endfor$
 11	$if(date-meta)$
 12	<meta name="dcterms.date" content="$date-meta$" />
 13	$endif$
 14	$if(keywords)$
 15	<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
 16	$endif$
 17	$if(description-meta)$
 18	<meta name="description" content="$description-meta$" />
 19	$endif$
 20	<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
 21
 22	<link rel="stylesheet" href="https://unpkg.com/@catppuccin/highlightjs@1.0.1/css/catppuccin-frappe.css">
 23
 24	<link rel="stylesheet" href="./md2html.css">
 25
 26	<script src="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
 27  
 28	<script>
 29		document.getElementById("sourceCode").classList.add("language ");
 30	</script>
 31  
 32	$for(header-includes)$
 33	  $header-includes$
 34	$endfor$
 35	$if(math)$
 36	  $math$
 37	$endif$
 38</head>
 39
 40<body>
 41
 42<script>hljs.highlightAll();</script>
 43
 44<main class="h-entry">
 45	<article class="e-content">
 46		$for(include-before)$
 47			$include-before$
 48		$endfor$
 49
 50		$if(title)$
 51		<header id="title-block-header">
 52			<h1 class="title p-name">$title$</h1>
 53
 54			<div class="metadata">
 55				$if(subtitle)$
 56					<p class="subtitle">$subtitle$</p>
 57				$endif$
 58
 59				<p>
 60					$if(date)$
 61						published <span class="date"><time class="dt-published" datetime="$date$">$date$</time></span>
 62					$endif$
 63				</p>
 64
 65				<p>
 66					$if(lastmodified)$
 67						last edited <span class="date"><time class="dt-updated" datetime="$lastmodified$">$lastmodified$</time></span>
 68					$endif$
 69				</p>
 70
 71				<p>
 72					$for(author)$
 73						by <a href="https://girlonthemoon.xyz/"><span class="author">$author$</span></a>
 74					$endfor$
 75				</p>
 76
 77				$if(abstract)$
 78					<div class="abstract">
 79						<div class="abstract-title">$abstract-title$</div>
 80							$abstract$
 81						</div>
 82				$endif$
 83			</div>
 84</header>
 85$endif$
 86
 87$if(toc)$
 88	<nav id="$idprefix$TOC" role="doc-toc">
 89		$if(toc-title)$
 90
 91		<h2 id="$idprefix$toc-title">$toc-title$</h2>
 92		$endif$
 93
 94		$table-of-contents$
 95	</nav>
 96$endif$
 97
 98$body$
 99
100$for(include-after)$
101	$include-after$
102$endfor$
103</article>
104
105</main>
106
107
108</body>
109</html>