-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
✨ Adds mermaidjs as node package #242
Conversation
* replaces possible backslash for win environments like in hugo docs explained: `.File.Path` returns paths joined by backslashes instead of slashes. * Updating the README! * Updating the README! * Updating the README! * Updating the README! * Updating the README! * Updating the README! * Updating the README! * Updating the README! * Updating the README! * Updating the README! * Updating the README! * fix mixture of permanent and relative links * Updating the README! * Updating the README! * Replace highlightBlock with highlightElement * Updating the README! * Updating the README! * deps: bump versions to latest * Updating the README! * Updating the README! Co-authored-by: Henk Verlinde <henk@henkverlinde.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Mike Pianka <47948499+mikepianka@users.noreply.github.com> Co-authored-by: umatare5 <umatare5@gmail.com> Co-authored-by: Henk Verlinde <henk@ventizo.com>
@h-enk : Sorry for the changes in the |
@OCram85, nice work! Mermaid applies (a lot of) inline styles. Currently these are blocked by the Content Security Policy. See also: https://deploy-preview-242--doks.netlify.app/docs/examples/mermaid/ It looks like there's no solution yet to remove the inline styles by config — see also mermaid-js/mermaid#856 + mermaid-js/mermaid#1054 I would like to avoid P.S. Your |
Ah, I need more coffee 😉 I mean |
Oh I really couldn't test mermaid output in netlify deployments. |
Yeah Netlify's deploy preview is super handy for that: https://deploy-preview-242--doks.netlify.app/ |
I'm by far not an expert in this. I have to grab another coffee and dig into this, too. 🐰 |
@h-enk: I really don't get it with the |
@OCram85, did you then run |
That's what I already did with the latest commits:
|
Hmm, it looks more like a npm thing to me, but I'm no expert. I'm using npm v7.5.3 (with Node v15.9.0) on Windows 10 Pro 20H2. Let's see what happens if you remove Mermaid /make your package.json changes undone. I've now added Mermaid: 6d5ec50 |
I'm running this environment:
... I'm updating my node/ npm and will try it again.
|
Finally fixed the lint issues :D 🤖 🚀 🛸 |
📦 Content
🔖 Refs