Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/gfm/deps.ts>Marked.Parser._Parser

Server-side GitHub Flavored Markdown rendering for Deno
Go to Latest
class Marked.Parser._Parser
import { Marked } from "https://deno.land/x/gfm@0.3.0/deps.ts";
const { _Parser } = Marked.Parser;

Parsing & Compiling

Constructors

new
_Parser(options?: MarkedOptions)

Properties

options: MarkedOptions
renderer: _Renderer
textRenderer: _TextRenderer

Methods

parse(tokens: Token[], top?: boolean): string

Parse Loop

parseInline(tokens: Token[], renderer?: _Renderer | _TextRenderer): string

Parse Inline Tokens

Static Methods

parse(tokens: Token[], options?: MarkedOptions): string

Static Parse Method

parseInline(tokens: Token[], options?: MarkedOptions): string

Static Parse Inline Method