The Discourse svgbob theme component allows users to include ASCII diagrams in Discourse posts that are rendered as high-fidelity SVGs. It re-packages the open-source Svgbob library and can be installed via the Theme Creator. The component supports settings such as extending the content security policy and adding SVG icons.
In the discussion, Decorbuz asks about advantages over yUML. Falco explains that as a theme component, it is easier to install on shared hosting without rebuilds compared to plugins, and notes that svgbob is a free-form drawing tool unlike yUML’s UML focus. Sam notes that the project has moved to his personal repository and is no longer an official theme component.
JamyDodger suggests cleaning up the topic to remove ‘official’ branding, including changing ownership, removing tag icons, and updating the Theme Creator preview. Heliosurge asks about rich editor support and clarifies the usage of the height setting, noting it is optional. Finally, Arkshine submitted a PR to update the library, with plans to merge further feature updates.
I think it needs a little extra undressing to remove all its ‘official’ clothes. As it’s a wiki I’ve taken the liberty of removing the ‘official’ blurb and hosting info, and dropping the for .
Ideally it would also have the topic ownership changed away from @Discourse and back to you, as well as having its tag icon removed and being snipped out of the ‘official theme component’ tag group as well. The hidden #ecb tag also needs to be removed.
The preview in theme creator could also do with being changed from Discourse to yourself as well.
(Theoretically, third-party theme components don’t get their own tag, but you may be able to pull some strings and have an exception If even you don’t have enough sway for that then the svgbob topics may need a tidy up too)
Hi Sam, I was wondering if this component if there is plans to add rich editor support?
Also for extra clarity the “SVGblob Height” should maybe clarify to increase adjust.
took me a bit to figure out to get a lower box to show in your sample code of 2 boxes. I needed to increase this value to see completed blob.
Update: Used your sample insert from composer. I see it doesn’t define SVGblob height. So I am guessing this setting is optional if you want to restrict height