Trevixal API
    Preparing search index...

    Function looksLikeMarkdown

    • Whether pasted plain text is Markdown, as a chat app's copy button or a .md file gives it: a code fence, two lines marked up as blocks, or one with inline marks beside it. Single lines never are: a pasted ** alone is the writer's text.

      Parameters

      • text: string

      Returns boolean