-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render Inline Images in code comments #41775
Comments
Great request. That will be very helpful. |
I think it's can be also very dangerous (unsecure)... |
I'd also love to have this feature! Developers in visual computing could greatly benefit from graphical representations of algorithms in comments. If this makes it into vscode, it would be good if the links could be specified relative to the workspace/project folder, since web content may not always be available or it may get removed at some point. |
👍 I've long wanted this feature in an editor. It could also support a data-uri. |
I'm here from LaTeX Workshop where the is significant demand for inline previews of both images and math (using MathJax). Adding my two cents - I'd really like to see it, and I also know of a large community that is particularly interested in this capability. |
/duplicate of #3220 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
(edited): ---- original ---
|
(1 theme extensions excluded)
Feature Request
Allow images to be displayed "inline" with source code. Provide meta-data to indicate what to show (using markup, etc).
For several domains an image is worth a thousand words, as they say. I write geometric routines and wish to describe, for instance, coordinate systems.
I would also like to be able to insert other simple illustrations. This is better than ascii art.
I know this is a code editor and not a word processor, so have no problems greatly restricting how images are inserted. Primarily, its just for commenting code better.
As a bonus, I would love the "drag and drop" like this github issue dialog where dropping a file into VSCode will embed whatever markup is needed including potentially copying the image to the same directory as the source code.
References
This Visual Studio extension does exactly what I'm requesting:
https://github.com/lukesdm/image-comments
This Visual Studio example is also very similar:
https://editorsamples.codeplex.com/wikipage?title=Image%20Insertion&referringTitle=Home
This request is not the same as
#7689 or
https://marketplace.visualstudio.com/items?itemName=kisstkondoros.vscode-gutter-preview
, but is similar. I don't want a quick "icon", i want a read-able "full-size" image that will help my comment.
The text was updated successfully, but these errors were encountered: