template.html 1.68 KB
<!DOCTYPE html>
<html lang="fr">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/xcode.min.css" integrity="sha256-OED7Gmqde0cMVVeo1zVd+3fBD4EST32D4h9YT7KY0aY=" crossorigin="anonymous" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
    <style type="text/css">
        body {
            font-family: Cantarell;
            font-size: 12px;
        }
        code {
            white-space: pre-wrap;
        }
        h1, h2, h3 {
            text-decoration: underline;
            margin-bottom: 0;
        }
        h1:first-of-type {
            text-align: center;
            text-decoration: none;
            margin-bottom: 0;
        }
        h2:first-of-type {
            color: gray;
            text-align: center;
            text-decoration: none;
            margin-top: 0;
        }
        img {
            max-width: 100%;
        }
        p {
            text-align: justify;
        }
        ul code, p code {
            border: 1px solid #ccc;
            border-radius: 2px;
            padding: 0px 2px;
        }
        @media print {
            code {page-break-inside: avoid;}
            h1, h2, h3, h4, h5 {page-break-after: avoid;}
            img {page-break-after: avoid;}
        }
    </style>
    <title>%TITLE%</title>
</head>

<body>
    <main class="page-content" aria-label="Content">
%BODY%
    </main>
</body>

</html>