Skip to content

Commit

Permalink
https://youtu.be/uEZ9iWgJaSk?si=gBrHy3Fh3iHS5Maw&t=669
Browse files Browse the repository at this point in the history
  • Loading branch information
ricoThaka authored May 16, 2024
1 parent bab1719 commit c395ef9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@
</div>
<script type="text/javascript" src="/js/lightbox.js"></script>
<link rel="stylesheet" href="/css/lightbox.css">
{% if page.mermaid %}
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
{% endif %}

</body>

Expand Down
7 changes: 7 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
title: Archive
mermaid: true
carousels:
- images:
- image: /uploads/slider/image1.jpg
Expand All @@ -21,6 +22,12 @@ carousels:
<div></div>
</div>

<div class="mermaid">
sequenceDiagram
participant P1
participant P2
P1->>P2: Hello world
</div>

```mermaid
Expand Down

0 comments on commit c395ef9

Please sign in to comment.