Use SVG versions of mermaid diagrams for better quality

This commit is contained in:
Jake Howard 2022-07-20 23:31:02 +01:00
parent 78b310faa3
commit ba7a2d7b4d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -2,7 +2,7 @@
<figure>
<div class="image">
<img src="https://mermaid.ink/img/{{ value.pako }}" referrerpolicy="no-referrer" alt="{{ value.caption|richtext|extract_text }}" />
<img src="https://mermaid.ink/svg/{{ value.pako }}" referrerpolicy="no-referrer" alt="{{ value.caption|richtext|extract_text }}" />
</div>
<figcaption>
{{ value.caption|richtext }}