Mermaid markdown extension for offline environment

Hi,

I'm working in an offline environment and having difficulities installing the mermaid extension for markdown.

How can I install it?

0
6 comments

Could you please provide the exact steps to reproduce the issue and the error you get?

0

I installed PyCharm in an offline environment, tried to view a markdown file with mermaid syntax, but the preview didn't render the mermaid graph. 

I know its an external extension for markdown, but what do I need to do in order to bring in this extension to my offline environment?

0

Looks like mermaid integration was added according to https://youtrack.jetbrains.com/issue/IDEA-213097

You have to enable it in the settings first, see screencast at https://youtrack.jetbrains.com/issue/IDEA-213097#focus=Comments-27-4302151.0-0

0

Since I'm working on an **offline environment ** - when I try to enable the option in settings menu as described, I'll be prompted the connection to github to download the extension failed. That's expected since this is an offline environment.

The question is how can I enable this feature, in an **offline environment**?

0

Ah, I see. Sorry, unfortunately I don't know the answer, but I guess it should be possible, e.g. to download the library manually and install it for PyCharm.

I guess the best bet is to ask the developer who made the integration directly in https://youtrack.jetbrains.com/issue/IDEA-213097

0

Thanks anyway :)

I found it out eventually myself. On my mac, these are the paths that should be populated:

~/Library/Caches/JetBrains/PyCharmCE2020.3/download-cache
~/Library/Caches/JetBrains/PyCharmCE2020.3/download-cache/plantuml
~/Library/Caches/JetBrains/PyCharmCE2020.3/download-cache/plantuml/plantuml.jar
~/Library/Caches/JetBrains/PyCharmCE2020.3/download-cache/mermaid
~/Library/Caches/JetBrains/PyCharmCE2020.3/download-cache/mermaid/mermaid
~/Library/Caches/JetBrains/PyCharmCE2020.3/download-cache/mermaid/mermaid/mermaid.js
1

Please sign in to leave a comment.