append

abstract fun append(chunk: CharSequence)

Appends a chunk of text to the current Markdown document.

This method updates the internal state of the document by parsing the chunk and merging it into the unstable portion of the Markdown file. Once the append operation is completed, the document represents a fully parsed and updated Markdown structure ending at the current offset.

Note: This method is not thread-safe and should not be called concurrently.