File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -397,6 +397,13 @@ generated and the image is written
397397to =org-babel-jupyter-resource-directory=. To specify your own file name
398398for the image, set the =:file= header argument.
399399
400+ If no file extension is specified in the provided =:file=, then one will be inferred
401+ from the returned output. This can be useful in scenarios where the file resulting
402+ from the src-block can have different types depeneding on the code, e.g. if the image
403+ type returned can be either =png= or =svg= depending on certain settings, you can
404+ specify =:file = output= which will be converted into =output.png= or =output.svg=
405+ depending on the MIME type return by the executed src-block.
406+
400407**** Changing the mime-type priority with the =:display= argument
401408
402409The priority of mimetypes used to display results can be overwritten using the
You can’t perform that action at this time.
0 commit comments