Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用沙堡帮助文件生成器从我的 c# 代码的 xml 注释生成文档文件。你知道如何将代码示例包含到帮助文件中,比如 msdn 样式吗?
你试过<example>和<code>标签吗?它应该做你想做的事。
<example>
<code>
<summary> ... </summary> <example>This is a code example: <code> ... </code> </example>