Skip to content

markdown.ts#

View Markdown

Source

2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

2 symbols 2 functions 3 parameters 2 returns

Reference#

fnisMdxFilePath(filePath: string): booleanReturns true when a resource id points at an MDX source file.

Returns true when a resource id points at an MDX source file.

Signature

export function isMdxFilePath(filePath: string): boolean

View source

Parameters

  • filePath string

Returns

boolean
fnresolveMdxForFilePath(filePath: string, configured?: boolean): booleanExplicit configuration wins; otherwise MDX follows the source extension.

Explicit configuration wins; otherwise MDX follows the source extension.

Signature

export function resolveMdxForFilePath(filePath: string, configured?: boolean): boolean

View source

Parameters

  • filePath string
  • configured boolean

    optional

Returns

boolean