| >>> type note | |
| > [!NoTe] | |
| > Test note alert. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>Test note alert.</p> | |
| </div> | |
| >>> type tip | |
| > [!TiP] | |
| > Test tip alert. | |
| <<< | |
| <div class="markdown-alert markdown-alert-tip"> | |
| <p class="markdown-alert-title">Tip</p> | |
| <p>Test tip alert.</p> | |
| </div> | |
| >>> type important | |
| > [!ImpoRtanT] | |
| > Test important alert. | |
| <<< | |
| <div class="markdown-alert markdown-alert-important"> | |
| <p class="markdown-alert-title">Important</p> | |
| <p>Test important alert.</p> | |
| </div> | |
| >>> type warning | |
| > [!WarNinG] | |
| > Test warning alert. | |
| <<< | |
| <div class="markdown-alert markdown-alert-warning"> | |
| <p class="markdown-alert-title">Warning</p> | |
| <p>Test warning alert.</p> | |
| </div> | |
| >>> type caution | |
| > [!CauTioN] | |
| > Test caution alert. | |
| <<< | |
| <div class="markdown-alert markdown-alert-caution"> | |
| <p class="markdown-alert-title">Caution</p> | |
| <p>Test caution alert.</p> | |
| </div> | |
| >>> invalid type | |
| > [!foo] | |
| > Test foo alert. | |
| <<< | |
| <blockquote> | |
| <p>[!foo] | |
| Test foo alert.</p> | |
| </blockquote> | |
| >>> contents can both contain/not contain starting quote | |
| > [!NOTE] | |
| Test note alert. | |
| >Test note alert x2. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>Test note alert. | |
| Test note alert x2.</p> | |
| </div> | |
| >>> spaces everywhere | |
| > [!NOTE] | |
| > Test note alert. | |
| > Test note alert x2. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>Test note alert. | |
| Test note alert x2.</p> | |
| </div> | |
| >>> title has 3 more spaces then fallback to blockquote | |
| > [!NOTE] | |
| > Test blockquote. | |
| <<< | |
| <blockquote> | |
| <p>[!NOTE] | |
| Test blockquote.</p> | |
| </blockquote> | |
| >>> nested blockquote | |
| > [!NOTE] | |
| >> Test nested blockquote. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <blockquote> | |
| <p>Test nested blockquote.</p> | |
| </blockquote> | |
| </div> | |
| >>> escape brackets | |
| > \[!note\] | |
| > Test escape brackets. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>Test escape brackets.</p> | |
| </div> | |
| >>> terminates properly | |
| > [!note] | |
| > A sample note. | |
| Additional markdown text. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>A sample note.</p> | |
| </div> | |
| <p>Additional markdown text.</p> | |
| >>> supports multiple quoted lines | |
| > [!note] | |
| > A sample note | |
| > with two lines. | |
| Additional markdown text. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>A sample note | |
| with two lines.</p> | |
| </div> | |
| <p>Additional markdown text.</p> | |
| >>> supports multiple lines | |
| > [!note] | |
| > A sample note | |
| with two lines. | |
| Additional markdown text. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>A sample note | |
| with two lines.</p> | |
| </div> | |
| <p>Additional markdown text.</p> | |
| >>> supports continuation lines | |
| > [!note] | |
| > A sample note | |
| with two lines. | |
| Additional markdown text. | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>A sample note | |
| with two lines.</p> | |
| </div> | |
| <p>Additional markdown text.</p> | |
| >>> crash repro #584.1 | |
| > [!Warning] | |
| > | |
| > Some extensions won't work on dynamic types. | |
| <<< | |
| <div class="markdown-alert markdown-alert-warning"> | |
| <p class="markdown-alert-title">Warning</p> | |
| <p>Some extensions won't work on dynamic types.</p> | |
| </div> | |
| >>> crash repro #584.2 | |
| > [!NOTE] | |
| > | |
| > if you receive the following error: | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <p>if you receive the following error:</p> | |
| </div> | |
| >>> nested lists are not flattened #2292 | |
| > [!NOTE] | |
| > - Item1 | |
| > - Item1-1 | |
| > - Item1-2 | |
| > - Item1-2-1 | |
| > - Item2 | |
| > - Item2-1 | |
| <<< | |
| <div class="markdown-alert markdown-alert-note"> | |
| <p class="markdown-alert-title">Note</p> | |
| <ul> | |
| <li>Item1 | |
| <ul> | |
| <li>Item1-1</li> | |
| <li>Item1-2 | |
| <ul> | |
| <li>Item1-2-1</li> | |
| </ul> | |
| </li> | |
| </ul> | |
| </li> | |
| <li>Item2 | |
| <ul> | |
| <li>Item2-1</li> | |
| </ul> | |
| </li> | |
| </ul> | |
| </div> |