Can I use markdown with TJSProseMirror?
I.e.
https://github.com/prosemirror/prosemirror-markdown and
https://prosemirror.net/examples/markdown/
I notice that the text node in my journal's pages collection documents has a
markdown
key which is undefined. This suggests to me that it's supported – although I don't know how to enable it?1 Reply
If the Foundry core editor supports it then it's possible. You can configure ProseMirror (PM) plugins with
TJSProseMirror
, but you'll have to learn about PM and investigate what if any support there is through the Foundry implementation of PM. PM is a lower level library for architecting custom editors, so Foundry's implementation will not necessarily be functioning well or be extensible easily.
PM is much harder to customize than TinyMCE. There will likely be diminishing returns on your side doing so. There also is the general problem that for the collaboration feature to work you can't change the schema on the client side as it has to match the server.
Ask if Markdown is supported by the core editor on the mothership and work from there.