lijunle / Vsxmd

VS XML documentation -> Markdown syntax.
MIT License
217 stars 52 forks source link

Not able to use < and > in comments #53

Closed wkoeter closed 5 years ago

wkoeter commented 6 years ago

Trying to write common things in code blocks like

List<string>

or

(param)=>{     }

Is currently not possible and gets turned into & gt; and & lt; when using VSXMD

lijunle commented 5 years ago

This limitation does not come from Vsxmd. The XML doc is processed by Roslyn compiler.

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments

Besides, you can enable code analyzer to check if the compiler warning CS1570 exists.

https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1570