mjbvz/vscode-markdown-mermaid

vs code for linux preview does not work with ```mermaid only with :::mermaid

Closed this issue · 4 comments

Hi,

I am using mermaid with "gitea" (only ``` works) and "vs code" (only ::: works) ...
As mentioned by the documentation ``` should also work.
image

Any suggestions - thanks in advance

Additional information:


Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Datum: 2023-12-13T09:47:11.635Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
Betriebssystem: Linux x64 6.1.64-08962-g29b897fe339a


Language: german


Markdown Preview Mermaid Support v1.21.0


OS: ChromeOS Beta 121 / Debian bookworm 12.4


gitea 1.21.3


All components are on the latest available version.

Works fine for me

Image

Can you share the full text of a file with this issue?

Hi, thanks for your respone ... so the file is:
image


:::mermaid
flowchart LR
A --> B
:::

flowchart LR
    A --> B
Loading
flowchart LR
    A --> B
Loading

I've read some comments about vscode in azure to have some kind of problem, also eventually the german language might cause problems ... with standard lead-in characters vscode does not interpret this as a mermaid code its always a code block ... file below ...
mermaid_vscode.md

... perhaps the problem is per definition / markdown-it ? ...
image
https://commonmark.org/help/

SOLVED
I've found the solution - I've got an other markdown plugin also active which interferred with your extension.
markdown-higlightjs - Adds highlight.js mardown-it plugin to VSCode