The ScriptaV2.Msg.MarkupMsg type is need for synchronization of the source and rendered text when using the Codemirror editor.