Options
All
  • Public
  • Public/Protected
  • All
Menu

An event emitted by the {@link MarkedPlugin} on the Renderer after a chunk of markdown has been processed. Allows other plugins to manipulate the result.

see

{@link MarkedPlugin.EVENT_PARSE_MARKDOWN}

Hierarchy

Index

Constructors

constructor

  • new MarkdownEvent(name: string, originalText: string, parsedText: string): MarkdownEvent

Events

Static Readonly PARSE

PARSE: "parseMarkdown" = "parseMarkdown"

Triggered on the renderer when this plugin parses a markdown string.

Properties

Readonly originalText

originalText: string

The unparsed original text.

parsedText

parsedText: string

The parsed output.

Accessors

isDefaultPrevented

  • get isDefaultPrevented(): boolean

isPropagationStopped

  • get isPropagationStopped(): boolean

name

  • get name(): string

Methods

preventDefault

  • preventDefault(): void

stopPropagation

  • stopPropagation(): void

Generated using TypeDoc