From cf6772e6369d0fa3d4ec550c97438347602789c3 Mon Sep 17 00:00:00 2001 From: chenchongqiang Date: Sat, 27 May 2023 18:49:06 +0800 Subject: [PATCH] style(solive-doc): format mdx style --- .../extension/docusaurus-plugins/props.mdx | 24 ++++---- apps/doc/docs/solive-props.mdx | 56 +++++++++---------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/apps/doc/docs/extension/docusaurus-plugins/props.mdx b/apps/doc/docs/extension/docusaurus-plugins/props.mdx index 8040072..1c51055 100644 --- a/apps/doc/docs/extension/docusaurus-plugins/props.mdx +++ b/apps/doc/docs/extension/docusaurus-plugins/props.mdx @@ -8,15 +8,15 @@ hide_title: true > Note: properties may change the default values and new properties will be added in the future. -| Property | Type | Default Value | Description | -| --- | --- | --- | --- | -| width | string | 90% | Container width | -| height | string | 500px | Container height | -| simple | boolean | false | Is it minimal mode? | -| consoleOpen | boolean | true | Display console? | -| consoleTriggerControl | boolean | false | Show console trigger button? | -| consoleDefaultVisible | boolean | false | Is console visible by default? | -| deployOpen | boolean | true | Display deploy module? | -| deployDefaultVisible | boolean | false | Is deploy module visible by default? | -| fileNavOpen | boolean | true | Display file navigation bar? | -| fileNavDefaultVisible | boolean | false | Is file navigation bar visible by default? | \ No newline at end of file +| Property | Type | Default Value | Description | +|-----------------------|---------|---------------|--------------------------------------------| +| width | string | 90% | Container width | +| height | string | 500px | Container height | +| simple | boolean | false | Is it minimal mode? | +| consoleOpen | boolean | true | Display console? | +| consoleTriggerControl | boolean | false | Show console trigger button? | +| consoleDefaultVisible | boolean | false | Is console visible by default? | +| deployOpen | boolean | true | Display deploy module? | +| deployDefaultVisible | boolean | false | Is deploy module visible by default? | +| fileNavOpen | boolean | true | Display file navigation bar? | +| fileNavDefaultVisible | boolean | false | Is file navigation bar visible by default? | diff --git a/apps/doc/docs/solive-props.mdx b/apps/doc/docs/solive-props.mdx index 759b59e..54c6158 100644 --- a/apps/doc/docs/solive-props.mdx +++ b/apps/doc/docs/solive-props.mdx @@ -8,46 +8,46 @@ hide_title: true ## Property Table -| Property Name | Description | Type | Default Value | Required | -| ------------- | ----------- | ---- | ------------- | -------- | -| id | Unique form identifier | string | - | ✅ | -| modelInfos | File information | array | [] | ✅ | -| height | Height | string | - | ✅ | -| rounded | Window corner radius | string | 12px | - | -| disableValidation | Whether to disable validation | boolean | false | - | -| monacoEditorOptions | Monaco editor configuration | (Refer to [IStandaloneEditorConstructionOptions](https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IStandaloneEditorConstructionOptions.html)) | - | - | -| fileNav | Top file navigation | TFileNav | (Refer to [TFileNav](/docs/SoLive-props#tfilenav)) | - | -| console | Log block | TConsole | (Refer to [TConsole](/docs/SoLive-props#tconsole)) | - | -| deploy | Deployment block | TDeploy | (Refer to [TDeploy](/docs/SoLive-props#tdeploy)) | - | +| Property Name | Description | Type | Default Value | Required | +|---------------------|-------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------|----------| +| id | Unique form identifier | string | - | ✅ | +| modelInfos | File information | array | [] | ✅ | +| height | Height | string | - | ✅ | +| rounded | Window corner radius | string | 12px | - | +| disableValidation | Whether to disable validation | boolean | false | - | +| monacoEditorOptions | Monaco editor configuration | (Refer to [IStandaloneEditorConstructionOptions](https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IStandaloneEditorConstructionOptions.html)) | - | - | +| fileNav | Top file navigation | TFileNav | (Refer to [TFileNav](/docs/solive-props#tfilenav)) | - | +| console | Log block | TConsole | (Refer to [TConsole](/docs/solive-props#tconsole)) | - | +| deploy | Deployment block | TDeploy | (Refer to [TDeploy](/docs/solive-props#tdeploy)) | - | ## TFileNav Top file navigation property table -| Property Name | Description | Type | Default Value | Required | -| ------------- | ----------- | ---- | ------------- | -------- | -| open | Whether to enable the feature | boolean | true | - | +| Property Name | Description | Type | Default Value | Required | +|---------------|-------------------------------|---------|---------------|----------| +| open | Whether to enable the feature | boolean | true | - | ## TConsole Log block property table -| Property Name | Description | Type | Default Value | Required | -| ------------- | ----------- | ---- | ------------- | -------- | -| defaultVisible | Default visibility | boolean | true | - | -| defaultHeight | Default height | string | "30%" | - | -| minHeight | Minimum height | number | 78 | - | -| triggerControl | Whether to enable control | boolean | true | - | -| open | Whether to enable the feature | boolean | true | - | +| Property Name | Description | Type | Default Value | Required | +|----------------|-------------------------------|---------|---------------|----------| +| defaultVisible | Default visibility | boolean | true | - | +| defaultHeight | Default height | string | "30%" | - | +| minHeight | Minimum height | number | 78 | - | +| triggerControl | Whether to enable control | boolean | true | - | +| open | Whether to enable the feature | boolean | true | - | ## TDeploy Deployment block property table -| Property Name | Description | Type | Default Value | Required | -| ------------- | ----------- | ---- | ------------- | -------- | -| defaultVisible | Default visibility | boolean | true | - | -| defaultWidth | Default width | string | "200px" | - | -| minWidth | Minimum width | number | 140 | - | -| maxWidth | Maximum width | number | 240 | - | -| open | Whether to enable the feature | boolean | true | - | \ No newline at end of file +| Property Name | Description | Type | Default Value | Required | +|----------------|-------------------------------|---------|---------------|----------| +| defaultVisible | Default visibility | boolean | true | - | +| defaultWidth | Default width | string | "200px" | - | +| minWidth | Minimum width | number | 140 | - | +| maxWidth | Maximum width | number | 240 | - | +| open | Whether to enable the feature | boolean | true | - |