Options
All
  • Public
  • Public/Protected
  • All
Menu

Module roosterjs-content-model-markdown

Index

Functions

convertContentModelToMarkdown

convertMarkdownToContentModel

isContentMarkdown

  • isContentMarkdown(text: string): boolean
  • Detect whether the given plain text contains any markdown markup. Recognizes block-level patterns (headings, blockquotes, lists, horizontal rules, tables) and inline patterns (bold, italic, strikethrough, links, images).

    Parameters

    • text: string

      The plain text to check.

    Returns boolean

    True if the text contains any markdown markup, false otherwise.

isPastedContentMarkdown

Generated using TypeDoc