lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
657 stars 362 forks source link

Mermaid diagram doesn't appear #479

Closed upgundecha closed 11 months ago

upgundecha commented 12 months ago

Describe the bug I'm trying to set up Mermaid on my site. However, the diagram does not appear.

To Reproduce Steps to reproduce the behavior: (Ignore the backslash)

\```python
print('Hello, World!')
\```

\```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
\```

Expected behavior The mermaid diagram should appear

Screenshots The mermaid diagram is not rendered

image

Desktop (please complete the following information):

upgundecha commented 11 months ago

Never mind, it was misplaced in the config. Working as expected.