Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

compileSync

Synchronously compile MDX to JS.

function compileSync(vfileCompatible: VFileCompatible, compileOptions?: CompileOptions | null | undefined): VFile;
§
compileSync(vfileCompatible: VFileCompatible, compileOptions?: CompileOptions | null | undefined): VFile
[src]

§Parameters

§
vfileCompatible: VFileCompatible
[src]

MDX document to parse (string, Buffer, vfile, anything that can be given to vfile).

§
compileOptions?: CompileOptions | null | undefined optional
[src]

§Return Type

§
VFile
[src]

File.