jupyter-sphinx icon indicating copy to clipboard operation
jupyter-sphinx copied to clipboard

Ability to add formatted output (rst|myst) to `jupyter-output`

Open pankajp opened this issue 2 years ago • 1 comments

As of now, the jupyer-output directive puts all its content in a <pre> block which means we can't include formatted output like bullets and images in there. I have a cell whose output depends on a special interactive environment so I intended to put its output as a screenshot image but it doesn't seem to work. Is it possible to enhance jupyter-output directive to parse the included content, maybe as an option to the directive?

pankajp avatar Jan 10 '23 23:01 pankajp

jupyter-output are container directives, you can put anything at all inside these: images, math, etc. I don't think that they are preformatting their input.

akhmerov avatar Jan 16 '23 18:01 akhmerov