.pandoc/templates/md2html.html5

Mon, 15 Jul 2024 13:22:56 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 15 Jul 2024 13:22:56 -0500
changeset 1176
1cb4636d6d36
parent 929
97b6cf0bd601
permissions
-rw-r--r--

Fix for no-nerdfonts experience

929
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 <!DOCTYPE html>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 <html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 <head>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 <meta charset="utf-8">
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 <title>$if(docmeta-title)$$docmeta-title$$else$$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$$endif$</title>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 <style type="text/css">
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 nav {
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 float: right;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 max-width: 25%;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 font-size: 90%;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 white-space: nowrap;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 hyphens: none;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 }
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 nav ul {
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 list-style: none;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 }
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 body {
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 font-family: sans-serif;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 line-height: 1.2em;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 max-width: 62em;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 margin: 5em;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23 background: floralwhite;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 }
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 article ul {
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26 margin-right: 8em;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27 }
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 blockquote, div.sourceCode {
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29 margin:0 0 0 .8ex;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 border-left:1px #ccc solid;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31 padding-left:1ex;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 }
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 a, a:visited {
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 color: blue;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35 text-decoration-style: dotted;
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
36 }
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 $if(quotes)$q { quotes: "“" "”" "‘" "’"; } $endif$
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38 $if(highlighting-css)$ $highlighting-css$ $endif$
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
39 </style>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
40 </head>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
41 <body>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
42 $if(toc)$
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
43 <nav id="$idprefix$TOC">
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
44 $toc$
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
45 </nav>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
46 $endif$
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
47 <article>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
48 $body$
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
49 </article>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
50 </body>
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
51 </html>

mercurial