-
Notifications
You must be signed in to change notification settings - Fork 39
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
Support for Mermaid.js in kaleido #177
base: master
Are you sure you want to change the base?
Conversation
Fixed python command in linux script from python to python3
Added all the necessary scope files and connected the pipeline for mermaid scope.
Moved check for module scripts from kaleido.cc to utils.h
This will be added while supporting different image formats.
Support for Mermaid.js in kaleido
Request validation & custom diagram config
First phase of Mermaid scope development
Hi! I'm trying to coordinate a rerelease of kaleido, I'm first working over the build system, updating the api, and moving it to modern version of chromium. Hoping to get buyin from plotly on CI. What platform did you develop this on? Linux? |
Hi, yes, I used wsl Ubuntu for the build, because I had trouble building it on Windows. I've also tried the build on PopOS Linux on my machine and it worked. Good luck ! |
:-)
El mar, 23 de abr. de 2024 8:41 a. m., MilicaSladakovic <
***@***.***> escribió:
… Hi! I'm trying to coordinate a rerelease of kaleido, I'm first working
over the build system, updating the api, and moving it to modern version of
chromium. Hoping to get buyin from plotly on CI.
What platform did you develop this on? Linux?
Hi, yes, I used wsl Ubuntu for the build, because I had trouble building
it on Windows. I've also tried the build on PopOS Linux on my machine and
it worked. Good luck !
—
Reply to this email directly, view it on GitHub
<#177 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHHLRFMXXUJJXNG7VE66QQDY6ZQJPAVCNFSM6AAAAABGCBDD6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSGM2TKMJXGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi all,
I added new scope that would support the rendering of Mermaid graphing library. Here is an usage example:
Method
scope.transform(markdown, **kwargs)
accepts mermaid markdown and returnssvg
code in string bytes. Also, this method accepts custom configuration which is not mandatory.What I did:
<script type="module">
tags inrepos\kaleido\cc\kaleido.cc
. This can be used when scope is delivered via esm.js
methods such asis-non-empty-string
andis-positive-numeric
toutils
so that it can be used by any scope.What needs to be done:
svg
format is available.