rehype-github-alerts test
chrisweb opened this issue · 0 comments
chrisweb commented
rehype-github-alerts test
Note
this is an example "note" (with two spaces after "[!NOTE]")
> [!NOTE]
> this is an example "note" (with two spaces after "[!NOTE]")
Important
this is an example "important" (with NO spaces after "[!IMPORTANT]")
> [!IMPORTANT]
> this is an example "important" (with NO spaces after "[!IMPORTANT]")
Note
this is an example "note" (with two spaces after "[!NOTE]") and a second line of content, containing a "strong" element and a link
foo top
> [!NOTE]
> this is an example "note" (with two spaces after "[!NOTE]") and a second line of content, containing a "strong" element and a link
> **foo** [top](#rehype-github-alerts-test)
Important
this is an example "important" (with NO spaces after "[!IMPORTANT]") and a second line of content, containing a "strong" element and a link
foo top
> [!IMPORTANT]
> this is an example "important" (with NO spaces after "[!IMPORTANT]") and a second line of content, containing a "strong" element and a link
> **foo** [top](#rehype-github-alerts-test)
Warning
[!IMPORTANT]
test for nested alerts
> [!WARNING]
>> [!IMPORTANT]
>> test for nested alerts
NOTE
test for legacy alerts
> **NOTE**
> test for legacy alerts
NOTE
test for legacy alerts with second line
foo top
> **NOTE**
> test for legacy alerts with second line
> **foo** [top](#rehype-github-alerts-test)
[!NOTE]
test for nested blockquotes
>>> [!NOTE]
>>> test for nested blockquotes
[!INVALID]
test for invalid alert type
> [!INVALID]
> test for invalid alert type