Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A diagram that works in mermaidchart.com fails in Notion #5341

Closed
chris-braidwell opened this issue Feb 29, 2024 · 3 comments
Closed

A diagram that works in mermaidchart.com fails in Notion #5341

chris-braidwell opened this issue Feb 29, 2024 · 3 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@chris-braidwell
Copy link

Description

When I paste the same Mermaid source into a /mermaid block in Notion, I get this error: Syntax error in Mermaid diagram: TypeError: Cannot read properties of undefined (reading 'id').

Steps to reproduce

I can share the source in a private message.

Screenshots

No response

Code Sample

No response

Setup

Notion as of 29-Feb-2024

Suggested Solutions

Could the Notion plugin for Mermaid be out of date? Should we expect differences in the two environments?

Additional Context

No response

@chris-braidwell chris-braidwell added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Feb 29, 2024
@Yokozuna59
Copy link
Member

Most likely because they are using an older version.

The live editor uses v10.8.0, but notion uses v10.6.1:

8CA99124-47F8-4C21-A4C3-EE4615A8A33F

@Yokozuna59 Yokozuna59 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
@chris-braidwell
Copy link
Author

Thanks. Is there an official contact @ Notion to work this with? If not I'll just open a general ticket with them.

I didn't know about info -- that's handy.

@Yokozuna59
Copy link
Member

I'm not really sure, but people open issues in this repo: https://github.com/makenotion/notion-sdk-js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants