DocFX Version Used: 20.40.6
Template used: default
Steps to Reproduce:
docfx init -q
[!NOTE]
<This is a note block as shown in the DocFX tutorial page.>
Expected Behavior:
The builder should render a corresponding HTML note block:
<div class="NOTE">
<h5>NOTE</h5>
<p>This is a note block as shown in the DocFX tutorial page.</p>
</div>
Actual Behavior:
The builder renders as-is plain text in the HTML file.
This behavior persists even when you change the Markdown engine from Markdig to DFM.
This behavior persists even when you drop the angled brackets as shown outside the official tutorial.
You missed the starting > in each line.
Add > to the start of each line as shown in https://raw.githubusercontent.com/dotnet/docfx/v2.40.6/Documentation/spec/docfx_flavored_markdown.md
Thank you guys, my bad.
Most helpful comment
Add > to the start of each line as shown in https://raw.githubusercontent.com/dotnet/docfx/v2.40.6/Documentation/spec/docfx_flavored_markdown.md