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?![No description](https://cdn.answeroverflow.com/1249725756246855761/Screenshot_2024-06-10_at_15.03.31.png)
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.