Commit 0fb2f63
authored
fix: move mermaid script to
Mermaid diagrams were rendering as code blocks instead of images because
the script was loaded in the head tag before the DOM content was available.
Moving to `before_closing_body_tag` ensures the script runs after all
page content is loaded, allowing mermaid to find and transform the code
blocks.
Closes #287before_closing_body_tag for proper rendering (#289)1 parent 6f7c937 commit 0fb2f63
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 61 | | |
68 | 62 | | |
69 | 63 | | |
| |||
75 | 69 | | |
76 | 70 | | |
77 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
| |||
0 commit comments