BoostNote-Legacy
BoostNote-Legacy copied to clipboard
Allow optional arguments for Ditaa
According to the plantUML documentation regarding inline Ditaa you should be able to specify optional arguments, either as
Option 1:
@startditaa arguments-given-here
...
@endditaa
or as
Option 2:
@startuml
ditaa(arguments-given-here)
...
@enduml
Expected Behavior
The following code with Option 1:
@startditaa --no-separation
+-------+
|+------++
||+------++
||| |
++| |
++ |
+-------+
@endditaa
or Option 2:
@startuml
ditaa(--no-separation)
+-------+
|+------++
||+------++
||| |
++| |
++ |
+-------+
@enduml
should both give

Current behavior
Option 1 gives:

Option 2 gives:

According to the developer tools, there seems to be a bad request towards some plantuml server whenever option 2 is used. Note that it seems that option 2 doesn't work at all, not even without options.
Steps to reproduce
- Open a new Markdown note
- Copy-paste code given above into editor
- Observe how it renders
Environment
- Version : Boostnote 0.11.13
- OS Version and name : Windows 10 Pro
Bumping this as it would be a nice feature.