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
  b037e320_d912_0614_a5dd_25a87198a60d["getTableOfContents()"]
  6925281d_d060_1098_fe37_526e0c6321ea["DocPage()"]
  6925281d_d060_1098_fe37_526e0c6321ea -->|calls| b037e320_d912_0614_a5dd_25a87198a60d
  style b037e320_d912_0614_a5dd_25a87198a60d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/learn/lib/toc.ts lines 75–79

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

  return result.data
}

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