For the runmode addon, I’m not sure if this was intentional or a discrepancy in documentation, but in the runmode-standalone, the callback parameter only takes in an html element instead of either an html element or a callback function.
I’m using the runmode-standalone to compute span decorations in a ProseMirror CodeBlock node, so that’s why I want to runmode option of taking in text content and returning an array of {text, style} elements.