Merge branch 'main' of apps.bram85.nl:bram/git.plantuml
This commit is contained in:
commit
e56be90e66
30
README.org
30
README.org
|
@ -233,27 +233,15 @@ Adjust note color accordingly.
|
|||
!endprocedure
|
||||
#+end_src
|
||||
|
||||
**** TODO Accept JSON as argument
|
||||
:PROPERTIES:
|
||||
:CREATED: <2022-10-26 Wed 17:38>
|
||||
:END:
|
||||
|
||||
Given the complexity and the amount of configurability, pass it on as a single JSON structure instead of /n/ arguments.
|
||||
|
||||
#+begin_src plantuml :file /dev/null
|
||||
@startuml
|
||||
!procedure $edge($data)
|
||||
$data.from -> $data.to
|
||||
!endprocedure
|
||||
|
||||
!$n = {"from": "v", "to": "u"}
|
||||
$edge($n)
|
||||
@enduml
|
||||
#+end_src
|
||||
|
||||
* Meta
|
||||
** TODO Tangle after save
|
||||
** TODO Tangle before export
|
||||
* License
|
||||
|
||||
[[https://creativecommons.org/licenses/by/4.0/][Attribution 4.0 International (CC BY 4.0)]]
|
||||
* COMMENT Meta
|
||||
** Local variables
|
||||
|
||||
After save, extract the library content. It would've been nice to regenerate the images with =org-babel-execute-buffer= on each save, but that doesn't work well.
|
||||
|
||||
Local variables:
|
||||
eval: (add-hook 'after-save-hook #'org-babel-tangle 0 t)
|
||||
End:
|
||||
|
||||
|
|
Loading…
Reference in a new issue