{% extends "templates/article.njk" %} {% import "components/toc.njk" as toc with context %} {% import "components/code.njk" as code with context %} {% block header %} Markdown {% endblock %} {% block toc %} {% output "toc" %}{% endoutput %} {% endblock %} {% block body %} {% markdown %} # Test of markdown {{ code.import("code/test.js", "javascript") }} * A list item * A list item * A list item * A list item *italic* **bold** {{ toc.header("h1", "test header") }} {% endmarkdown %} {% endblock %}