mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 18:58:36 +02:00
docs: fix broken link in code blocks docs (#8993)
This commit is contained in:
parent
e6533ca2f1
commit
4f3901b932
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ console.log('Every repo must come with a mascot.');
|
||||||
|
|
||||||
### Theming {#theming}
|
### Theming {#theming}
|
||||||
|
|
||||||
By default, the Prism [syntax highlighting theme](https://github.com/FormidableLabs/prism-react-renderer#theming) we use is [Palenight](https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/themes/palenight.js). You can change this to another theme by passing `theme` field in `prism` as `themeConfig` in your docusaurus.config.js.
|
By default, the Prism [syntax highlighting theme](https://github.com/FormidableLabs/prism-react-renderer#theming) we use is [Palenight](https://github.com/FormidableLabs/prism-react-renderer/blob/master/packages/prism-react-renderer/src/themes/palenight.ts). You can change this to another theme by passing `theme` field in `prism` as `themeConfig` in your docusaurus.config.js.
|
||||||
|
|
||||||
For example, if you prefer to use the `dracula` highlighting theme:
|
For example, if you prefer to use the `dracula` highlighting theme:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue