Giter VIP home page Giter VIP logo

Comments (7)

onweru avatar onweru commented on August 18, 2024

@brendan-mccoy, thank you for bringing this to my attention. I will look into it within the next day.

from compose.

onweru avatar onweru commented on August 18, 2024

@brendan-mccoy, this should work correctly now.

from compose.

victorpierredev avatar victorpierredev commented on August 18, 2024

I'm having the same issue. Mermaid won't render unless I add "mermaid" somewhere in the text. Was it fixed?

from compose.

onweru avatar onweru commented on August 18, 2024

@vpakg, are you using the mermaid shortcode?

from compose.

victorpierredev avatar victorpierredev commented on August 18, 2024

Hi @onweru, thanks for getting back to me. Here is what my Markdown looks like:

---
title: "Mermaid Diagram example"
weight: 1
---
## Flowchart:

{{< mermaid >}}
flowchart TB
  c1-->a2
  subgraph one
  a1-->a2
  end
  subgraph two
  b1-->b2
  end
  subgraph three
  c1-->c2
  end
  one --> two
  three --> two
  two --> c2
{{< /mermaid >}}

this won't render, but if I add the word mermaid anywhere else in the file, it renders properly.

from compose.

onweru avatar onweru commented on August 18, 2024

@vpakg, I took your code as is and it worked alright. I'm on macos 12, using hugo v0.88.1+extended darwin/arm64. You?

from compose.

victorpierredev avatar victorpierredev commented on August 18, 2024

Hi @onweru I'm in the exact same version as you for Hugo: hugo v0.88.1+extended darwin/amd64
OS: MacOs 11.6 Darwin Kernel Version 20.6.0

from compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.