diff --git a/docs/data-modeling/models.md b/docs/data-modeling/models.md index dc9621fe9c3b49f86d58b1e2c09c812245681979..1951af22e54557309bbeb4e812617a94af6ab92a 100644 --- a/docs/data-modeling/models.md +++ b/docs/data-modeling/models.md @@ -170,7 +170,7 @@ See [History](../exploration-and-organization/history.md). You can move outdated or unneeded models to trash, or delete them permanently. Deleting a model will affect questions that use it as a data source. -See [Deleting and restoring items](../exploration-and-organization/delete-and-restore.md#delete-and-restore-items). +See [Deleting and restoring items](../exploration-and-organization/delete-and-restore.md). ## Verifying a model diff --git a/docs/embedding/sdk/dashboards.md b/docs/embedding/sdk/dashboards.md index 3969477acfb34a2311536f18296f911a82cb1d22..1878c7cd4d160de52ccd9ab151aba5414d7cb0f9 100644 --- a/docs/embedding/sdk/dashboards.md +++ b/docs/embedding/sdk/dashboards.md @@ -87,6 +87,7 @@ const plugins = { `dashcardMenu`: can be used in the InteractiveDashboard like this: ```typescript jsx +{% raw %} <InteractiveDashboard questionId={1} plugins={{ @@ -95,6 +96,7 @@ const plugins = { }, }} /> +{% endraw %} ``` #### Enabling/disabling default actions diff --git a/docs/embedding/sdk/plugins.md b/docs/embedding/sdk/plugins.md index 81e45e7f44af16a13be4476b6681fb4599dd5545..1ab13a8e4e8ffa1732e21863fd262390869c6bfe 100644 --- a/docs/embedding/sdk/plugins.md +++ b/docs/embedding/sdk/plugins.md @@ -15,6 +15,7 @@ The Metabase Embedding SDK supports plugins to customize the behavior of compone To use a plugin globally, add the plugin to the `MetabaseProvider`'s `pluginsConfig` prop: ```typescript jsx +{% raw %} <MetabaseProvider config={config} theme={theme} @@ -24,6 +25,7 @@ To use a plugin globally, add the plugin to the `MetabaseProvider`'s `pluginsCon > {children} </MetabaseProvider> +{% endraw %} ``` ## Component plugins @@ -31,12 +33,14 @@ To use a plugin globally, add the plugin to the `MetabaseProvider`'s `pluginsCon To use a plugin on a per-component basis, pass the plugin as a prop to the component: ```typescript jsx +{% raw %} <InteractiveQuestion questionId={1} plugins={{ mapQuestionClickActions: [...], }} /> +{% endraw %} ``` ## Further reading diff --git a/docs/embedding/sdk/questions.md b/docs/embedding/sdk/questions.md index 81a9995e8515164b181779ee836d544a278b1b6b..fd79ffb7c59d839cb1a0459fc170ab1243619dd8 100644 --- a/docs/embedding/sdk/questions.md +++ b/docs/embedding/sdk/questions.md @@ -41,7 +41,9 @@ export default function App() { You can pass parameter values to questions defined with SQL via `parameterValues` prop, in the format of `{parameter_name: parameter_value}`. Learn more about [SQL parameters](../../questions/native-editor/sql-parameters.md). ```jsx +{% raw %} <StaticQuestion questionId={questionId} parameterValues={{ product_id: 50 }} /> +{% endraw %} ``` ## Embedding an interactive question @@ -94,6 +96,7 @@ Here's an example of using the `InteractiveQuestion` component with its default To customize the layout, use namespaced components within the `InteractiveQuestion` component. For example: ```typescript jsx +{% raw %} <InteractiveQuestion questionId={95}> <div style={{ @@ -127,6 +130,7 @@ To customize the layout, use namespaced components within the `InteractiveQuesti </div> </div> </InteractiveQuestion> +{% endraw %} ``` ## Interactive question components diff --git a/docs/questions/sharing/exporting-results.md b/docs/questions/sharing/exporting-results.md index 97885f48975aaaf963f6042a6c0badedb475f9bd..65bba1f80dc2b7af6e60675c4115e3aea7eab165 100644 --- a/docs/questions/sharing/exporting-results.md +++ b/docs/questions/sharing/exporting-results.md @@ -33,7 +33,7 @@ If you're exporting a pivot table, you'll have the option to keep the table pivo You can download up to 1 million rows. -You can change this limit with an environment variable: [`MB_DOWNLOAD_ROW_LIMIT`](../../configuring-metabase/environment-variables.md#mb-download-row-limit). +You can change this limit with an environment variable: [`MB_DOWNLOAD_ROW_LIMIT`](../../configuring-metabase/environment-variables.md). ## Exporting data via a public link diff --git a/docs/questions/sharing/image-1.png b/docs/questions/sharing/image-1.png deleted file mode 100644 index b1e00214340d4f622747388be913a8942aa63212..0000000000000000000000000000000000000000 Binary files a/docs/questions/sharing/image-1.png and /dev/null differ diff --git a/docs/questions/sharing/image.png b/docs/questions/sharing/image.png deleted file mode 100644 index b2e72d6d85f39bf8c1f848ff4c7cfb3b48fda608..0000000000000000000000000000000000000000 Binary files a/docs/questions/sharing/image.png and /dev/null differ