feat(v2): Add playgroundPosition config for live codeblock (#4328)

* docs(v2): Add configuration parameter to allow putting Result before Editor in @docusaurus/theme-live-codeblock

* update doc

* refactor as playgroundPosition

Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
tokarchyn 2021-03-05 14:49:17 +01:00 committed by GitHub
parent f772c17bfc
commit 98a4b3a65c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 215 additions and 39 deletions

View file

@ -281,6 +281,9 @@ const LocaleConfigs = isI18nStaging
],
],
themeConfig: {
liveCodeBlock: {
playgroundPosition: 'bottom',
},
hideableSidebar: true,
colorMode: {
defaultMode: 'light',