vscode-mermaid-editor icon indicating copy to clipboard operation
vscode-mermaid-editor copied to clipboard

onLanguage:mermaid doesn't seem to be working

Open depascalis opened this issue 2 years ago • 0 comments

Describe the bug The extension isn't activated on mermaid language detection.

To Reproduce Steps to reproduce the behavior:

  1. Create a new untitled file in VSCode, do not save it
  2. Write some mermaid code
graph TD
  X[Hello]
  1. Make sure that the correct language is detected
  2. Open the Command Pallet and search for "mermaid" -> nothing appears
  3. Look at the top right of the document window -> no preview icon is visible

Expected behavior Previewing should work on untitled files.

Desktop (please complete the following information):

  • OS: Windows 10
  • VSCode 1.7
  • Extension version 0.15.0

Additional context bpruitt-goddard.mermaid-markdown-syntax-highlighting 1.4.0 is also enabled

depascalis avatar Aug 13 '22 16:08 depascalis