YunoHost-Apps / hedgedoc_ynh

HedgeDoc package for YunoHost
https://hedgedoc.org/
GNU General Public License v3.0
13 stars 8 forks source link

Plantuml doesn't work by default #59

Closed remcoboerma closed 1 year ago

remcoboerma commented 1 year ago

Describe the bug

Given that CodiMD supports plantuml out of the box (also on yunohost), i'd expect hedgedoc to do the same. There seems to be support, based on some environment variable, but i can't figure out where to put that.

Context

Steps to reproduce

new install of the application on the root of a free domain, using web admin reinstall using sudo yunohost app install hedgedoc --label HedgeDoc -a "domain=..." and answering / for the path and no for public access.

Expected behavior

After entering a codeblock with plantuml it would have to include plantuml output. Instead it shows the code in preformatted text block.

Logs

None.

remcoboerma commented 1 year ago

In the CodiMD-ynh repo there is no mention of plantuml so it's in those settings

ericgaspar commented 1 year ago

I don't know if HedgeDoc supports plantuml as CodiMD does, but you can try the diagram syntax as shown https://demo.hedgedoc.org/s/features#Diagrams

ericgaspar commented 1 year ago

Plantuml will apparently be supported in HedgeDoc v2 https://github.com/hedgedoc/hedgedoc/issues/3250