HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.08k stars 2.89k forks source link

Mermaid diagrams not rendering on wowchemy docs site #1966

Closed afewell closed 3 years ago

afewell commented 3 years ago

Welcome to Academic's GitHub repo 👋

We use GitHub only for bug reports and feature requests - it's our project management tool.

For help and questions, please join our community chat or use the forum 🚑.

Also, you can search and browse the extensive Academic and Hugo documentation.

For questions on Blogdown, please reach out to the Blogdown community.

Describe the bug

I noticed the mermaid diagrams arent rendering for me on the official wowchemy docs site https://wowchemy.com/docs/writing-markdown-latex/

I havent tried running mermaid on my own implementation yet so not sure if the implementation is broken or if its just an issue with the wowchemy site. It looks like mermaid is rendering fine on the academic demo site, but not in the documentation page.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://wowchemy.com/docs/writing-markdown-latex/
  2. Click on Diagrams
  3. See error Mermaid diagram rendering example is not rendering, just showing the mermaid code

Expected behavior

The documentation page shows the mermaid code and then says "Renders as:" but then doesnt show it rendering, so I think its supposed to render properly there

Technical details:

If applicable, add screenshots to help explain the issue.

image

gcushen commented 3 years ago

This behavior has occasionally been reported when running Mermaid in certain scenarios such as on slow connections or with JS heavy browser plugins.

Are you able to Right Click page > Inspect, then refresh page and screenshot or paste the entire output of the browser Console and confirm if any of the diagrams show this time?

afewell commented 3 years ago

Seems to be working now for me, thanks!