Options
All
  • Public
  • Public/Protected
  • All
Menu

MarkDownManager class

see

constructor()

Hierarchy

  • MarkDownManager

Index

Constructors

Properties

Methods

Constructors

constructor

  • Contains functionalities to operate with the markdown format

    Returns MarkDownManager

Properties

Private _showdown

_showdown: any

A showdown class instance. It is a library to convert MarkDown data to html

Methods

isValid

  • isValid(string: string): string
  • TODO

    Parameters

    • string: string

    Returns string

toHtml

  • toHtml(string: string): any
  • Convert the received MarkDown text to its HTML equivalent

    Parameters

    • string: string

      $string A valid MarkDown text that will be parsed and converted to HTML

    Returns any

    string A valid HTML text

validate

  • validate(string: string): string
  • TODO

    Parameters

    • string: string

    Returns string

Generated using TypeDoc