❔ `<code>` xml docs not showing nicely in VSCode
I want to use
<code>
in my XML docs to provide examples documentation. However, extra \
appears before certain characters when you actually check the documentation inside the IDE. Is there an easy fix for this?7 Replies
Can you try and wrap it in a cdata node?
<![CDATA[stuff here]]>
I will try. I have never heard of "cdata nodes" but I will look it up.
If this is the correct syntax, it isn't working.
it was worth a shot
sorry, that was my best idea
NB: cdata is basically like a way to tell xml parsers, everything between
<![CDATA[
and ]]>
so parsers break on things like &
which is where you can use & instead
but in a cdata section you're telling the parser, just pass throughi think you should open an issue on https://github.com/dotnet/vscode-csharp
GitHub
GitHub - dotnet/vscode-csharp: Official C# support for Visual Studi...
Official C# support for Visual Studio Code. Contribute to dotnet/vscode-csharp development by creating an account on GitHub.
it seems like a mistake
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.