• Construct all code snippets from current text (this could be potentially optimized if we can cache and detect differences)

    Parameters

    • text: string

      A string to parse codeblocks from

    Returns MarkdownCodeBlock[]

    An array of MarkdownCodeBlocks.