Home / Function/ MarkdownSection() — supabase Function Reference

MarkdownSection() — supabase Function Reference

Architecture documentation for the MarkdownSection() function in Reference.sections.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  acdc6247_1fa4_c122_e773_8f3dfe6bbe86["MarkdownSection()"]
  8f6a0334_7e54_74da_51d9_09923e133677["getRefMarkdown()"]
  acdc6247_1fa4_c122_e773_8f3dfe6bbe86 -->|calls| 8f6a0334_7e54_74da_51d9_09923e133677
  style acdc6247_1fa4_c122_e773_8f3dfe6bbe86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Reference.sections.tsx lines 140–159

async function MarkdownSection({
  libPath,
  version,
  isLatestVersion,
  link,
  section,
}: MarkdownSectionProps) {
  const content = await getRefMarkdown(
    section.meta?.shared
      ? `shared/${section.id}`
      : `${libPath}/${isLatestVersion ? '' : `${version}/`}${section.id}`
  )

  return (
    <RefSubLayout.EducationSection link={link} {...section}>
      <StickyHeader {...section} />
      <MDXRemoteRefs source={content} />
    </RefSubLayout.EducationSection>
  )
}

Subdomains

Frequently Asked Questions

What does MarkdownSection() do?
MarkdownSection() is a function in the supabase codebase.
What does MarkdownSection() call?
MarkdownSection() calls 1 function(s): getRefMarkdown.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free