feat: add highlighting Markdown parser <3

This commit is contained in:
David Bailey 2024-01-22 16:22:11 +01:00
parent 8e69a9139f
commit 9354f9f556
6 changed files with 613 additions and 50 deletions

View file

@ -10,8 +10,6 @@
{{ parent() }}
<meta property="og:type" content="image" />
<meta name="twitter:card" content="summary_large_image">
<meta name="robots" content="max-image-preview:large">
{%endblock %}
{%block content_article%}
@ -21,7 +19,7 @@
</a>
<figcaption>
{{ post.post_content|markdown_to_html }}
{{ content_html|raw }}
</figcaption>
</figure>
{%endblock%}

View file

@ -9,5 +9,5 @@
{%endblock %}
{%block content_article%}
{{ post['post_content']|markdown_to_html }}
{{ content_html|raw }}
{% endblock %}