~gpanders/dotfiles

ref: 2da1dde5ea566f82ebe6532bc6d3b8670fd77ce8 dotfiles/pandoc/.local/share/pandoc/templates/default.html -rw-r--r-- 2.7 KiB
2da1dde5Greg Anders Note 'open' subcommand opens editor in NOTES_DIR when no argument given 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html
  xmlns="http://www.w3.org/1999/xhtml"
  lang="$lang$"
  xml:lang="$lang$"
  $if(dir)$
  dir="$dir$"
  $endif$
>
  <head>
    <meta charset="utf-8" />
    <meta name="generator" content="pandoc" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, user-scalable=yes"
    />
    $for(author-meta)$
    <meta name="author" content="$author-meta$" />
    $endfor$ $if(date-meta)$
    <meta name="dcterms.date" content="$date-meta$" />
    $endif$ $if(keywords)$
    <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
    $endif$
    <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
    <style>
            body{margin:auto; max-width:38rem; padding:2rem; line-height:1.5em; font-family:"Helvetica", "Arial", sans-serif;}
            h1,h2,h3{line-height:1.2;}
            h2,h3{margin-top:1em; padding-top:1em;}
            @media print{body{max-width:none;}}
            code{white-space:pre;}
            p>code{padding:2px 4px;}
            code,pre{background:#eee;overflow-x:scroll;}
            pre{padding:1em;}
            span.smallcaps{font-variant:small-caps;}
            span.underline{text-decoration:underline;}
            div.column{display:inline-block; vertical-align:top; width:50%;}
            table{empty-cells:show; border:1px solid #cbcbcb; border-collapse:collapse; border-spacing:0;}
            thead{background-color:#e0e0e0; color:#000; text-align:left; vertical-align:bottom;}
            td:first-child,th:first-child{border-left-width:0;}
            td,th{padding:0.5em 1em; border-left:1px solid #cbcbcb; border-width:0 0 0 1px; margin:0; overflow:visible;}
      $if(quotes)$
            q { quotes:"“" "”" "‘" "’"; }
      $endif$
    </style>
    $if(highlighting-css)$
    <style>
      $highlighting-css$
    </style>
    $endif$ $for(css)$
    <link rel="stylesheet" href="$css$" />
    $endfor$ $if(math)$ $math$ $endif$
    <!--[if lt IE 9]>
      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
    <![endif]-->
    $for(header-includes)$ $header-includes$ $endfor$
  </head>
  <body>
    $for(include-before)$ $include-before$ $endfor$ $if(title)$
    <header id="title-block-header">
      <h1 class="title">$title$</h1>
      $if(subtitle)$
      <p class="subtitle">$subtitle$</p>
      $endif$ $for(author)$
      <p class="author">$author$</p>
      $endfor$ $if(date)$
      <p class="date">$date$</p>
      $endif$
    </header>
    $endif$ $if(toc)$
    <nav id="$idprefix$TOC" role="doc-toc">
      $table-of-contents$
    </nav>
    $endif$ $body$ $for(include-after)$ $include-after$ $endfor$
  </body>
</html>