Code Monkey home page Code Monkey logo

Comments (4)

obgnail avatar obgnail commented on September 16, 2024

如果我理解没错的话,你说的情况是:
对于 test.md 文件,生成 graph 形式的思维导图没有问题,生成 mindmap 形式的思维导图有问题。是吗?

这是由于 mermaid 本身有个很搞笑的 BUG,他把 mindmap 作为关键字了,不允许出现在标题中。
我看能不能兼容这个 BUG。

from typora_plugin.

styw1234 avatar styw1234 commented on September 16, 2024

如果我理解没错的话,你说的情况是: 对于 test.md 文件,生成 graph 形式的思维导图没有问题,生成 mindmap 形式的思维导图有问题。是吗?

这是由于 mermaid 本身有个很搞笑的 BUG,他把 mindmap 作为关键字了,不允许出现在标题中。 我看能不能兼容这个 BUG。

对的,就是这个 mindmap 作为关键字问题,去掉这个关键词,就可以正常显示mindmap图片。

另外mindmap有不同风格的样式可以选择么

from typora_plugin.

obgnail avatar obgnail commented on September 16, 2024
  1. 已修复,已合到 master 中。麻烦更新一下。
  2. 当然可以,mermaid 本身就支持样式美化。这也是为什么有 mermaid_replace 这个插件。此插件可以更换和美化 mermaid 组件。不过我还没来得及开发美化功能。

from typora_plugin.

obgnail avatar obgnail commented on September 16, 2024

mermaid_replace 这个插件默认是关闭的,请暂时不要去开启,它还是处于起步阶段。

from typora_plugin.

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.