Home / Function/ getTableOfContents() — supabase Function Reference

getTableOfContents() — supabase Function Reference

Architecture documentation for the getTableOfContents() function in toc.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  f2eaa29e_b03b_b94b_36f9_934a391ab358["getTableOfContents()"]
  daf61a5c_ae42_1be8_7311_e9ffbc3fe53a["DocPage()"]
  daf61a5c_ae42_1be8_7311_e9ffbc3fe53a -->|calls| f2eaa29e_b03b_b94b_36f9_934a391ab358
  style f2eaa29e_b03b_b94b_36f9_934a391ab358 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/design-system/lib/toc.ts lines 74–78

export async function getTableOfContents(content: string): Promise<TableOfContents> {
  const result = await remark().use(getToc).process(content)

  return result.data
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getTableOfContents() do?
getTableOfContents() is a function in the supabase codebase.
What calls getTableOfContents()?
getTableOfContents() is called by 1 function(s): DocPage.

Analyze Your Own Codebase

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

Try Supermodel Free