Skip to content

Commit

Permalink
fix(v2): expand broken admonitions (#2458)
Browse files Browse the repository at this point in the history
* fix: expand broken admonitions

* fix: properly format admonitions
  • Loading branch information
elviswolcott authored Mar 25, 2020
1 parent 27e7fa6 commit 16a8499
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 10 deletions.
30 changes: 25 additions & 5 deletions packages/docusaurus-init/templates/classic/docs/doc1.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,32 @@ This line is also a separate paragraph, but... This line is only separated by a

## Admonitions

:::note This is a note :::
:::note

:::tip This is a tip :::
This is a note

:::important This is important :::
:::

:::caution This is a caution :::
:::tip

:::warning This is a warning :::
This is a tip

:::

:::important

This is important

:::

:::caution

This is a caution

:::

:::warning

This is a warning

:::
30 changes: 25 additions & 5 deletions packages/docusaurus-init/templates/facebook/docs/doc1.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,32 @@ This line is also a separate paragraph, but... This line is only separated by a

## Admonitions

:::note This is a note :::
:::note

:::tip This is a tip :::
This is a note

:::important This is important :::
:::

:::caution This is a caution :::
:::tip

:::warning This is a warning :::
This is a tip

:::

:::important

This is important

:::

:::caution

This is a caution

:::

:::warning

This is a warning

:::

0 comments on commit 16a8499

Please sign in to comment.