Skip to content

Readme example fails; could use a little more detail on usage #1

@tomhundt

Description

@tomhundt

Hi, new to mermaid and to this plugin. Thank you for making it available!

Issue

The example given in the readme fails, at the moment. Looks like inline comments are broken for "graph TB" diagrams. I naively used this as my initial test and it wasn't working at all. (I know, this isn't your fault.)

sublime graph TB inline comment failure

Couple that with errors displayed on both the Package Control page:

packagecontrol io no support mermaid

and the Github one:

github graph TB inline comment failure

... and everything seemed a little shakey, for a while. I was able to test in parallel in VSCode and managed to figure stuff out.

Suggestions

  1. Use a trivial Hello, world example. (Can have a fancy one as an additional example to show off the coolness ;-) )
  2. Add usage. How to run it in the most foolproof manner -- is it better to start with a .mermaid file or a .md one? Use the Build feature or is there some other way?
  3. What is expected to happen. Turns out it creates .png files in the same location as the input file.

I'm spoiled by Markdown Preview, because somehow I was expecting a browser window to pop up with the markdown and mermaid output seamlessly integrated. Guess I need to go talk to those people to suggest they add support for your plugin...

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions