@awesome-algorand/mdast
    Preparing search index...

    Function fromString

    • Converts a Markdown string into an array of AwesomeRoot nodes by processing it and trimming a specified number of elements.

      Parameters

      • markdown: string

        The Markdown content to process.

      • Optionaltrim: number = 0

        The number of elements to trim from the parsed Markdown structure.

      Returns AwesomeRoot[]

      An array of root nodes created from the processed Markdown content.