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

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

Events

PARSE: "parseMarkdown" = "parseMarkdown"

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

Properties

originalText: string

The unparsed original text.

parsedText: string

The parsed output.

Accessors

  • get isDefaultPrevented(): boolean
  • get isPropagationStopped(): boolean
  • get name(): string

Methods

  • preventDefault(): void
  • stopPropagation(): void

Generated using TypeDoc