Skip to content

Commit

Permalink
added a brief description in README as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde authored and nnicandro committed Jun 27, 2023
1 parent 55e6e6c commit 5b28049
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,13 @@ generated and the image is written
to =org-babel-jupyter-resource-directory=. To specify your own file name
for the image, set the =:file= header argument.

If no file extension is specified in the provided =:file=, then one will be inferred
from the returned output. This can be useful in scenarios where the file resulting
from the src-block can have different types depeneding on the code, e.g. if the image
type returned can be either =png= or =svg= depending on certain settings, you can
specify =:file = output= which will be converted into =output.png= or =output.svg=
depending on the MIME type return by the executed src-block.

**** Changing the mime-type priority with the =:display= argument

The priority of mimetypes used to display results can be overwritten using the
Expand Down

0 comments on commit 5b28049

Please sign in to comment.