News for hackers. Stuff that matters.
Re:Show HN: Mermaid Chart VS Code Plugin: Mermaid.js Diagram... by knsv on Wednesday April 02, 2025 @01:43PM (#43559233)
You are right! A light plugin was released then.

Now, we have added lots of new functionality. Proper editing with syntax highlighting, etc. Apart from that, we have also added integration with GitHub Copilot, so you can generate diagrams from code and continue to edit them using the extension.

Re:Show HN: Mermaid Chart VS Code Plugin: Mermaid.js Diagram... by ashikns on Wednesday April 02, 2025 @01:56PM (#43559380)
I have been using it lightly. But the biggest problem (for me) is that I cannot use custom icons. I have to use Azure specific icons in a lot of diagrams. Mermaid's support for custom icons is only via iconify packs as far as I can tell. Is it possible to refer to icons in a local directory, such as "./images/storage.png"?
Re:Show HN: Mermaid Chart VS Code Plugin: Mermaid.js Diagram... by knsv on Wednesday April 02, 2025 @02:02PM (#43559446)
That's good feedback. The icons are not bundled into Mermaid itself due to copyright concerns. The approach you suggest would make sense, though.