Mermaid-Chart / vscode-mermaid-preview

Previews Mermaid diagrams
MIT License
142 stars 15 forks source link

Unable to make it work in vs code version 1.7.2 #19

Closed JCzz closed 7 years ago

JCzz commented 7 years ago

Hi

I might be missing something, but it does not work for me:

  1. created a file .md, & .mmd, & .mermaide

with the following content:

```mermaid
sequenceDiagram
  A-->B: Works!
vstirbu commented 7 years ago

In the snippet that you shared the fenced code is not closed, e.g. ``` at the end:

screen shot 2016-11-28 at 18 59 16

The extension does not assume any file extension, it works with the file in the active editor window.

vstirbu commented 7 years ago

You could try to reinstall the plugin and see if it corrects the situation. If still persists can you share here the output from the developer console (e.g. Help > Toggle Developer Tools)

vstirbu commented 7 years ago

Going to close this as not feedback received. If problem persist, attach a screenshot, details about your machine and reopen. Cheers!

JCzz commented 7 years ago

This do work, thanks! I think, I did not note the "select diagram" and set the cursor in the diagram. Thanks, this is really a nice extension.