You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using wavedrom editor on MacOS with M2 processor.
I already generate a skin json file using svg2js.js, but I don't know how to apply this file into the editor.
I've tried config:{skin:{The generated code}}, but it didn't work.
I've been away from wavedrom for years, so grain of salt..
but from https://wavedrom.com/tutorial.html , it seems you need a string for the skin property. My guess is you load your skin JS script and then use the name inside the definition (e.g. Waveskin.mySkin would give a skin name "mySkin".).
Online WaveDrom editor comes with predefined set of skins. If you want to add your custom skin you will need to use some environment where you can add JS code. I use Observablehq.com . Look into the last cell here to see how skin can be added: https://observablehq.com/@drom/handshake-annotation?collection=@drom/wavedrom
Activity
godfather991 commentedon Oct 23, 2024
@drom @itsayellow
itsayellow commentedon Oct 24, 2024
I've been away from wavedrom for years, so grain of salt..
but from https://wavedrom.com/tutorial.html , it seems you need a string for the
skin
property. My guess is you load your skin JS script and then use the name inside the definition (e.g.Waveskin.mySkin
would give a skin name "mySkin".).drom commentedon Oct 30, 2024
Online WaveDrom editor comes with predefined set of skins. If you want to add your custom skin you will need to use some environment where you can add JS code. I use Observablehq.com . Look into the last cell here to see how skin can be added: https://observablehq.com/@drom/handshake-annotation?collection=@drom/wavedrom
alaksandarjesus commentedon Jan 28, 2025
Below is my code