calepin 0.0.3

A Rust CLI for preprocessing Typst documents with executable code chunks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ doc.head }}
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
{% for style in styles -%}
    <style>
{{ style.css }}
    </style>
{% endfor -%}
{{ doc.body_open }}
{% include "partials/theme-switcher.html" %}
    <main class="container">{{ doc.body }}</main>
{% for script in scripts -%}
    <script>
{{ script.content }}
    </script>
{% endfor -%}
{{ doc.body_close }}