-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Roadmap: Support mermaid graphs for Github #43
Labels
Type ◦ Roadmap
Feature or bug currently planned for implementation
Comments
Aetherinox
added a commit
that referenced
this issue
Mar 29, 2024
Add integrated browser package to help support gist mermaid charts Refs: #43
Aetherinox
added a commit
that referenced
this issue
Mar 29, 2024
New constants stored for integrated Saturyn browser Refs: #43
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
At present, Github gists now support Mermaid diagrams. Github provides a share button to the top right which includes a javascript file you must include on your page. However, even on a stock HTML page with no engine, Github mermaid graphs do not render. Unknown if Github plans to fix this, but it currently has issues with:
Proposal
An alternative way to render mermaid diagrams would be to utilize
webviewer
to render the diagram in the user's Obsidian note. It has been tested, and gives the user full control over viewing the diagram and navigating.The downside is that webviewer treats the window as a full-blown browser, so they would be viewing the entire page for the gist. They would be unable to edit the diagram from their Obsidian note unless they physically sign into that browser window as they would on a normal browser.
This brings up the issue of also supporting cookies and storing them for the user.
Objectives
Zoom
settingHeight
settingThe text was updated successfully, but these errors were encountered: