Skip to content

Commit

Permalink
docs: fix unclosed admonition code block (#8363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zwyx authored Nov 23, 2022
1 parent 4b11c57 commit 412d2db
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ By default, the theme doesn't know what do to with custom admonition keywords su

If you registered a new admonition type `my-custom-admonition` via the following config:

````js title="docusaurus.config.js"
```js title="docusaurus.config.js"
module.exports = {
// ...
presets: [
Expand All @@ -282,6 +282,7 @@ module.exports = {
],
],
};
```

You can provide the corresponding React component for `:::my-custom-admonition` by creating the following file (unfortunately, since it's not a React component file, it's not swizzlable):

Expand Down

0 comments on commit 412d2db

Please sign in to comment.