32 lines
484 B
Plaintext
32 lines
484 B
Plaintext
|
{% extends "templates/article.njk" %}
|
||
|
{% import "components/toc.njk" as toc with context %}
|
||
|
|
||
|
{% block header %}
|
||
|
Markdown
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block toc %}
|
||
|
{% output "toc" %}{% endoutput %}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
|
{% markdown %}
|
||
|
# Test of markdown
|
||
|
|
||
|
Lmao i mitt liv.
|
||
|
|
||
|
```js
|
||
|
const testing = "a code block";
|
||
|
```
|
||
|
|
||
|
* A list item
|
||
|
* A list item
|
||
|
* A list item
|
||
|
* A list item
|
||
|
|
||
|
*italic* **bold**
|
||
|
|
||
|
{{ toc.header("h1", "test header") }}
|
||
|
|
||
|
{% endmarkdown %}
|
||
|
{% endblock %}
|