<html>
<meta charset="UTF-8">
<body>
<style>
$styles
</style>

<div class="mermaid">
$src
</div>

<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
    mermaid.ganttConfig = {
        mirrorActor: true
    }
    mermaid.initialize({
        startOnLoad: true
    });
</script>
</body>
</html>