Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

It looks like language mermaid is not supported #48

Closed
mairon-eero opened this issue Oct 15, 2021 · 6 comments
Closed

It looks like language mermaid is not supported #48

mairon-eero opened this issue Oct 15, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@mairon-eero
Copy link

mairon-eero commented Oct 15, 2021

First of all, congratulations for the amazing plugin 馃槃

Although it is supported by prismjs, when I try to use the mermaid language, I get an error Language mermaid is not supported in my console.

@mairon-eero
Copy link
Author

Looking at deckdeckgo sourcecode, mermaid is already there. Maybe is just update the version of @deckdeckgo/highlight-code. Does that makes sense?

@peterpeterparker peterpeterparker self-assigned this Oct 15, 2021
@peterpeterparker peterpeterparker added the enhancement New feature or request label Oct 15, 2021
@peterpeterparker
Copy link
Contributor

I think I should just update the list of supported code and publish a new version of the web components, that should solve it.

Give me 5min.

@peterpeterparker
Copy link
Contributor

peterpeterparker commented Oct 15, 2021

Install the new version of the web component (v3.4.0) and you should be good (tested with my website).

npm rm @deckdeckgo/highlight-code && npm i @deckdeckgo/highlight-code 

If still does not work let me now, will then reopen the issue.

Cheers

@peterpeterparker
Copy link
Contributor

Actually might also be the fact that with the new release the dependency on prismjs is bumped from 1.24.1 to 1.25.0.

In any case, you should be good.

@mairon-eero
Copy link
Author

Now its all good, thanks @peterpeterparker!

@peterpeterparker
Copy link
Contributor

Coolio! Thx for the feedback

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants