Class

HtmlToMarkdown (markdown-gfm/html2markdown)

@ckeditor/ckeditor5-markdown-gfm/src/html2markdown/html2markdown

class

This is a helper class used by the Markdown feature to convert HTML to Markdown.

Filtering

Properties

  • private

    _parser : UpdatedTurndown

Methods

  • constructor()

  • keep( elements ) → void

    Parameters

    elements : Filter

    Returns

    void
  • parse( html ) → string

    Parameters

    html : string

    Returns

    string
  • private

    _createParser() → UpdatedTurndown

    Returns

    UpdatedTurndown
  • private

    _todoList( turndown ) → void

    Parameters

    turndown : UpdatedTurndown

    Returns

    void