md-to-html/template.html @ f77ee236cdf3

More
author Steve Losh <steve@stevelosh.com>
date Thu, 23 May 2024 13:50:23 -0400
parents 4e1d6d6873fe
children (none)
<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>$title$</title>
        <style type="text/css">
            body {
                margin:40px auto;
                max-width: 800px;
                line-height:1.5;
                font-size:16px;
                color: #222;
                padding:0 10px;
                font-family: serif;
            }
            h1,h2,h3 {
                line-height:1.2
            }
            code {
                font-size: 14px;
                background-color: #eee;
                border: 1px solid #ccc;
                padding: 1px 4px;
            }
            pre code {
                border: 0;
                padding: 0;
            }
            pre {
                font-size: 14px;
                background-color: #eee;
                border: 1px solid #ccc;
                padding: 1px;
                overflow-x: auto;
                margin: 24px 20px 24px 0px;
                padding: 4px 10px;
            }
            a {
                color: #e50053;
            }

            h1 {
                text-align: center;
            }
            #table-of-contents > ul {
                padding-left: 0;
            }
            #table-of-contents li {
                list-style-type: none;
            }
        </style>
    </head>
    <body>
        <h1>$title$</h1>
        <details>
            <summary>Table of contents</summary>
            <div id="table-of-contents">$toc$</div>
        </details>

$body$

    </body>
</html>