mdz_stream_parser_block.ts view source
(state: MdzStreamParserState, cb: CodeblockState, content: string, content_start: number): void import {emit_codeblock_text} from '@fuzdev/fuz_ui/mdz_stream_parser_block.js'; Emit codeblock content as text (first chunk) or append_text (subsequent
chunks), updating cb.text_id on first emit. content_start is the local
buffer position where the content slice began — only used to compute the
global byte offset for the first text opcode.
state
cb
content
stringcontent_start
numberreturns
void