Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: Add Price support (#46992)

Jeremias Menichelli9096bdcd1772
diff --git a/apps/docs/internals/generate-guides-markdown.ts b/apps/docs/internals/generate-guides-markdown.ts
index 856ec2c79c7..67bd4a9d243 100644
--- a/apps/docs/internals/generate-guides-markdown.ts
+++ b/apps/docs/internals/generate-guides-markdown.ts
@@ -17,6 +17,7 @@ import { Panel } from './markdown-schema/Panel'
import { StepHike } from './markdown-schema/StepHike'
import { TabPanel } from './markdown-schema/TabPanel'
import { Admonition } from './markdown-schema/Admonition'
+import { Price } from './markdown-schema/Price'
const PARTIALS_DIR = path.join(process.cwd(), 'content', '_partials')
@@ -130,6 +131,7 @@ function applySchema(parent: Parent, schema: ComponentSchema): void {
const SCHEMA: ComponentSchema = {
Admonition,
Link,
+ Price,
GlassPanel: Panel,
IconPanel: Panel,
...StepHike,
diff --git a/apps/docs/internals/markdown-schema/Price.ts b/apps/docs/internals/markdown-schema/Price.ts
new file mode 100644
index 00000000000..0d03ffaaa7f
--- /dev/null
+++ b/apps/docs/internals/markdown-schema/Price.ts
@@ -0,0 +1,3 @@
+export const Price = ({ props }: { props: Record<string, unknown> }): string => {
+ return `$${props.price}`
+}