CS Suehs wrote:
> Should I expect the setting on the BEGIN_SRC line to work?
On v9.1.14, this works for me as expected:
#+name: helloworld2-works-fine-on-9-1-14
#+BEGIN_SRC plantuml :cache yes :file helloworld2.png
@startuml
Hello --> World
@enduml
#+END_SRC
It
I would expect it to work. After all, it could be incredibly useful to bump
that up to a :header-args:plantuml: property on the heading
On Thu, Apr 15, 2021 at 12:48 PM CS Suehs wrote:
> Nick,
> I had the :cache yes on the same line with #+BEGIN like
> #+BEGIN_SRC plantuml :file helloworld.png
Nick,
I had the :cache yes on the same line with #+BEGIN like
#+BEGIN_SRC plantuml :file helloworld.png :cache yes
When I change to your method, caching seems to work.
It looks like setting it as a section property also works.
Thank you.
Should I expect the setting on the BEGIN_SRC line to work?
CS Suehs writes:
> Should I expect PlantUML source blocks and their resulting images to
> be cached and respect `:cache true` ?
Yes.
> In my experience they regenerate every export, even with :cache true.
Can you provide an example?
This example caches correctly for me on v9.1.14.