Open StefanD986 opened 5 months ago
This is because the renderer appends and prepends some stuff by default (I should probably make this an option). It's specified in 'presets' section here -> https://github.com/dgudim/obsidian-universal-renderer#presets As for the parameters, they are just printed like that to the console, they are not comma-separated in reality, I should also probably change that :)
TLDR: remove the @startuml/@enduml
I can't seem to get the plantuml rendering to work.
Steps to reproduce:
```plantuml @startuml class Foo @enduml ```
Expected result
Should display rendered diagram
Actual result
Following error message is shown:
Note:
I think the problem is in the expansion of the parameter list. When I run the command as printed in the error message manually, it fails. But if I modify the command as follows:
it works (note that now the filename is not appended to the comma separated list, but instead separated by a comma from the options list.
(I'm actually not even sure whether the options should be comma separated at all?)