Home / Function/ preprocessMdxWithDefaults() — supabase Function Reference

preprocessMdxWithDefaults() — supabase Function Reference

Architecture documentation for the preprocessMdxWithDefaults() function in utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  67a945e1_7550_1b68_2ba7_665ba0ff6278["preprocessMdxWithDefaults()"]
  eb1b33c7_935b_b61a_962a_2e11b76d01bc["fromFs()"]
  eb1b33c7_935b_b61a_962a_2e11b76d01bc -->|calls| 67a945e1_7550_1b68_2ba7_665ba0ff6278
  4b1c83bf_9e5f_2677_9122_a760805fbc95["preprocessMdx()"]
  67a945e1_7550_1b68_2ba7_665ba0ff6278 -->|calls| 4b1c83bf_9e5f_2677_9122_a760805fbc95
  89322a95_cf3c_42c1_a11f_8d5fe57d59e7["showRemark()"]
  67a945e1_7550_1b68_2ba7_665ba0ff6278 -->|calls| 89322a95_cf3c_42c1_a11f_8d5fe57d59e7
  1c6cc7f2_caeb_fb83_1fef_f0907c3c713e["remarkMkDocsAdmonition()"]
  67a945e1_7550_1b68_2ba7_665ba0ff6278 -->|calls| 1c6cc7f2_caeb_fb83_1fef_f0907c3c713e
  338597d5_a45e_59aa_37ea_69304bfc49d3["remarkPyMdownTabs()"]
  67a945e1_7550_1b68_2ba7_665ba0ff6278 -->|calls| 338597d5_a45e_59aa_37ea_69304bfc49d3
  e170640f_c973_07c3_1dca_4410298488e1["partialsRemark()"]
  67a945e1_7550_1b68_2ba7_665ba0ff6278 -->|calls| e170640f_c973_07c3_1dca_4410298488e1
  c690e42d_3181_4be7_bd9b_5b78597b4ee9["codeSampleRemark()"]
  67a945e1_7550_1b68_2ba7_665ba0ff6278 -->|calls| c690e42d_3181_4be7_bd9b_5b78597b4ee9
  e3ce9f7c_a141_fd4b_becc_9bb3c1ead858["codeTabsRemark()"]
  67a945e1_7550_1b68_2ba7_665ba0ff6278 -->|calls| e3ce9f7c_a141_fd4b_becc_9bb3c1ead858
  style 67a945e1_7550_1b68_2ba7_665ba0ff6278 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/directives/utils.ts lines 29–40

export function preprocessMdxWithDefaults(mdx: string) {
  return preprocessMdx(mdx, [
    showRemark(),
    remarkMkDocsAdmonition(),
    remarkPyMdownTabs(),
    partialsRemark(),
    codeSampleRemark({
      fetchFromGitHub: getGitHubFileContentsImmutableOnly,
    }),
    codeTabsRemark(),
  ])
}

Subdomains

Called By

Frequently Asked Questions

What does preprocessMdxWithDefaults() do?
preprocessMdxWithDefaults() is a function in the supabase codebase.
What does preprocessMdxWithDefaults() call?
preprocessMdxWithDefaults() calls 7 function(s): codeSampleRemark, codeTabsRemark, partialsRemark, preprocessMdx, remarkMkDocsAdmonition, remarkPyMdownTabs, showRemark.
What calls preprocessMdxWithDefaults()?
preprocessMdxWithDefaults() is called by 1 function(s): fromFs.

Analyze Your Own Codebase

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

Try Supermodel Free