Re:Show HN: OneDev – A Lightweight GitLab Alternative
by tomashubelbauer on Saturday January 18, 2020 @04:39AM
(#22083450)
You can even embed or link SVGs with CSS animations in them!
[ Parent
| on HN ]
Re:Show HN: OneDev – A Lightweight GitLab Alternative
by capableweb on Saturday January 18, 2020 @07:40AM
(#22084112)
What, that's not true, is it? I think GitHub turns those into images, if I'm wrong. Could you link a example where someone embeds SVG with CSS animations?
Re:Show HN: OneDev – A Lightweight GitLab Alternative
by nbe on Saturday January 18, 2020 @12:29PM
(#22085658)
GitHub sanitizes SVG animations by removing e.g. embedded JS code but SVG animated with CSS is supported in Markdown files. See for example [1] which contains [2].
[1] https://github.com/nbedos/termtosvg/blob/develop/README.md
[2] https://github.com/nbedos/termtosvg/blob/develop/docs/exampl...
Re:Show HN: OneDev – A Lightweight GitLab Alternative
by tomashubelbauer on Saturday January 18, 2020 @12:52PM
(#22085801)
This is an excellent example.
Re:Show HN: OneDev – A Lightweight GitLab Alternative
by tomashubelbauer on Saturday January 18, 2020 @07:54AM
(#22084169)
I'll try to remember to answer when I'm home. I have this working in a private repo so I'll make it public. Just checked it on my iPhone where it doesn't seem to work in Safari though so it's possible the support is not stellar. For sure worked in Firefox on my desktop though.