Ha! Small world! I just started building a documentation editor using markdown, built as a custom element[0]. It's still deeply in alpha, but there is a working demo, at least!

[0] https://github.com/catapart/magnitce-docs-editor