CodeBlock: Extract<Block, {
    kind: "code";
}>

A code block holding plain text and an optional language.

const snippet: CodeBlock = code('1d20+5', 'text')