Search code examples
c#idecomments

Is it possible insert image to a code comment?


My question is probably an insane idea, however, it's very valuable when I write code for educational purpose.

Especially when the code is relevant to math and physics, images inserted in comment are more convenient and articulated.

Until now, I can't find a way succeed to insert a true image into comment, not C# nor python or any other common programming language or IDE.

Using tools that convert images to ASCII image is a workaround but less precise.

Any idea is appreciated


Solution

  • There is an example here that extend the Visual Studio 2010 editor: Image Insertion (but it's tied to Visual Studio, not a generic solution)