Skip to main content
Module

x/markdown/mod.ts>InlineLexer

Deno Markdown module forked from https://github.com/ts-stack/markdown/tree/bb47aa8e625e89e6aa84f49a98536a3089dee831
Latest
class InlineLexer
Re-export
import { InlineLexer } from "https://deno.land/x/markdown@v2.0.0/mod.ts";

Inline Lexer & Compiler.

Constructors

new
InlineLexer(
staticThis: InlineLexer,
links: Links,
options?: MarkedOptions,
renderer?: Renderer,
)

Properties

protected
hasRulesGfm: boolean
protected
renderer: Renderer
protected
ruleCallbacks: RulesInlineCallback[]

Methods

protected
mangle(text: string)

Mangle Links.

protected
setRules()
protected
smartypants(text: string)

Smartypants Transformations.

output(nextPart: string): string

Lexing/Compiling.

Static Properties

protected
rulesBase: RulesInlineBase
protected
rulesBreaks: RulesInlineBreaks

GFM + Line Breaks Inline Grammar.

protected
rulesGfm: RulesInlineGfm

GFM Inline Grammar

protected
rulesPedantic: RulesInlinePedantic

Pedantic Inline Grammar.

Static Methods

output(
src: string,
links: Links,
options: MarkedOptions,
): string

Static Lexing/Compiling Method.