Open
Description
List in remark rendered into code block, It's not expected:
To Reproduce
- using following comment:
namespace ClassLibrary1
{
public class Class1
{
/// <summary>Here is an example of a bulleted list:
/// </summary>
///
/// <remarks>
/// <para>Test para</para>
///
/// Test start list
/// <list type="bullet">
/// <item>
/// <description>Item 1.</description>
/// </item>
/// <item>
/// <description>Item 2.</description>
/// </item>
/// </list>
/// Test end list
///
/// </remarks>
public string TestStringProperty { get; set; }
}
}
- run docfx
Expected behavior
The list should render correctly as list
Context (please complete the following information):
-
OS: Windows
-
Docfx version: 2.78.2
-
.NET version: .Net 8
-
docfx.json
config
{
"metadata": [
{
"src": [
{
"files": [
"ClassLibrary1.dll"
],
"src": "./"
}
],
"dest": "./api/ClassLibrary1"
}
],
"build": {
"content": [
{
"files": [
"api/**/*.yml"
]
}
],
"output": "./dest"
}
}
Additional context
Indent code block maybe detached, Can we provide a way to disable some plugin for markdig, Remove Indent code block parse maybe help