qwik-cms/content/pages/article/markdown.njk

32 lines
484 B
Plaintext
Raw Normal View History

2021-08-04 20:08:33 +02:00
{% 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 %}