<x-keyboard> does a good job on most web pages, but an SVG output would be nice to have in order to embed keyboard layout drawings in other documents — PDFs, markdown, etc.
And I started #46 to work on a kalamine implementation. I think it would be a good way to start hacking on kalamine, so I’m leaving this PR alone for a moment to let time to contributors to pick it up.
I think we only need one output SVG. It should display a good default view (base and shift layers, with AltGr and/or 1dk dimmed), and that SVG document should be fairly easy to tweak thanks to the root classes.
<x-keyboard>
does a good job on most web pages, but an SVG output would be nice to have in order to embed keyboard layout drawings in other documents — PDFs, markdown, etc.@Ced-C has provided a nice proof of concept here: https://gist.github.com/Ced-C/6fbc2f1bc47a23dd572b0c65b98b1e53
And I started #46 to work on a kalamine implementation. I think it would be a good way to start hacking on kalamine, so I’m leaving this PR alone for a moment to let time to contributors to pick it up.
I think we only need one output SVG. It should display a good default view (base and shift layers, with AltGr and/or 1dk dimmed), and that SVG document should be fairly easy to tweak thanks to the root classes.