I guess it is a silly idea but I often wish to insert small images (typically scan of manually drawn sketches) to better explain part of my codes. Ideally these images could be displayed by the editor (VSCode) or even displayed in the docstrings of a function.
Does anyone knows about a VSCode extension or other ways to do this ?
Thank you for these directions ! @baggepinnen : I knew about Documenter.jl and Pluto.jl but the idea was to make this information in the code itself via vscodeā¦ In the same spirit, the latex formulas in docstrings are not directly rendered in vscode. @rafael.guerra : This is closer to my wish. It just lacks to be open without a Ctrl-click and a size options . @jzr : I did not understood all the thread but some quotes look close to what I am looking for. @davidanthoff contributes to this thread and maybe he could explain how it is related to Julia vscode extension.
Btw, regarding pictures in a docstring, since julias docstrings are rendered as Markdown by most sensible IDEs, one can insert pictures into docstrings via the regular Markdown syntax ![pic description](picture link), as in
"""
heres a smiley!
![smiley](https://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Smiley.svg/640px-Smiley.svg.png)
"""
smile!() = "š"