@metreeca/core - v0.9.22
    Preparing search index...

    Function markdown

    • Tags a template literal as Markdown content.

      Marks the literal as markdown, so that editors and other tools handle it accordingly.

      The literal is realigned as dedent does, so markdown laid out to match the indentation of the surrounding code retains the block structure CommonMark infers from leading whitespace.

      Parameters

      • template: TemplateStringsArray

        The literal sections of the markdown content

      • ...values: unknown[]

        The values interpolated between the literal sections

      Returns string

      The assembled template with the line terminators normalised, the outer blank lines dropped and the shared leading whitespace removed from every line