import { gfm } from "https://deno.land/x/fathym_eac_runtime@v0.0.140/src/src.deps.ts";
const { Marked } = gfm.Marked;
import { gfm } from "https://deno.land/x/fathym_eac_runtime@v0.0.140/src/src.deps.ts";
const { Marked } = gfm.Marked;
Methods
getDefaults(): marked.MarkedOptions
Gets the original marked default options.
parse(src: string, callback: (error: any, parseResult: string) => void): void
Compiles markdown to HTML.
parse(src: string, options: marked.MarkedOptions & { async: true; }): Promise<string>
Compiles markdown to HTML asynchronously.
parse(src: string, options?: marked.MarkedOptions): string
Compiles markdown to HTML synchronously.
parse(): void
src: string,
options: marked.MarkedOptions,
callback: (error: any, parseResult: string) => void,
Compiles markdown to HTML synchronously.
parseInline(src: string, options?: marked.MarkedOptions): string
Compiles markdown to HTML without enclosing p
tag.
setOptions(options: marked.MarkedOptions): Marked
Sets the default options.
use(...extensions: marked.MarkedExtension[]): void
Use Extension
walkTokens(tokens: marked.Token[] | marked.TokensList, callback: (token: marked.Token) => void): Marked
Methods
getDefaults(): marked.MarkedOptions
Gets the original marked default options.
parse(src: string, callback: (error: any, parseResult: string) => void): void
Compiles markdown to HTML.
parse(src: string, options: marked.MarkedOptions & { async: true; }): Promise<string>
Compiles markdown to HTML asynchronously.
parse(src: string, options?: marked.MarkedOptions): string
Compiles markdown to HTML synchronously.
parse(): void
src: string,
options: marked.MarkedOptions,
callback: (error: any, parseResult: string) => void,
Compiles markdown to HTML synchronously.
parseInline(src: string, options?: marked.MarkedOptions): string
Compiles markdown to HTML without enclosing p
tag.
setOptions(options: marked.MarkedOptions): Marked
Sets the default options.
use(...extensions: marked.MarkedExtension[]): void
Use Extension
walkTokens(tokens: marked.Token[] | marked.TokensList, callback: (token: marked.Token) => void): Marked
import { gfm } from "https://deno.land/x/fathym_eac_runtime@v0.0.140/src/src.deps.ts";
const { Marked } = gfm.Marked;