chore: release Docusaurus v3.4 (#10186)

This commit is contained in:
Sébastien Lorber 2024-05-31 19:09:06 +02:00 committed by GitHub
parent a7afd9cc87
commit dbdd4dfb2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
145 changed files with 21407 additions and 203 deletions

View file

@ -0,0 +1,29 @@
---
sidebar_position: 3
slug: /api/themes/@docusaurus/theme-live-codeblock
---
# 📦 theme-live-codeblock
This theme provides a `@theme/CodeBlock` component that is powered by react-live. You can read more on [interactive code editor](../../guides/markdown-features/markdown-features-code-blocks.mdx#interactive-code-editor) documentation.
```bash npm2yarn
npm install --save @docusaurus/theme-live-codeblock
```
### Configuration {#configuration}
```js title="docusaurus.config.js"
export default {
plugins: ['@docusaurus/theme-live-codeblock'],
themeConfig: {
liveCodeBlock: {
/**
* The position of the live playground, above or under the editor
* Possible values: "top" | "bottom"
*/
playgroundPosition: 'bottom',
},
},
};
```