The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
type params = { name: string; description: string; tabs: string; note: string }
const Example = ({ name, description = '', tabs = '', note = '' }: params) => {
if (note !== '') {
const [noteTitle, ...noteText] = note.split('\n')
console.log(noteText)
note = `
<Admonition type="${noteTitle}">
${noteText.join('\n')}
</Admonition>
`
}
return `
### ${name}
${description}
${tabs}
${note}
`.trim()
}
export default Example