123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- >>> 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>
|