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