Skip to content

Commit

Permalink
Fix code blocks
Browse files Browse the repository at this point in the history
Two code blocks were merged together because of errors with the three backticks.
  • Loading branch information
Zwyx authored Nov 22, 2022
1 parent ca3dba5 commit cfc6d3d
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 cfc6d3d

Please sign in to comment.