The viewer is open source[0], so yeah you can embed it in an iframe (that's what the editor does), and just `postMessage` the parsed markwhen and some additional state to it. The structure of the posted data is here[1]. I'm happy to help, rob@markwhen.com or I'm in the markwhen discord[2]
Comments
This is neat! I've been following it for a few months.
Would my app be able to generate a Markwhen file and then embed the viewer to view it? Would that be free or paid?
The viewer is open source[0], so yeah you can embed it in an iframe (that's what the editor does), and just `postMessage` the parsed markwhen and some additional state to it. The structure of the posted data is here[1]. I'm happy to help, rob@markwhen.com or I'm in the markwhen discord[2]
[0] https://github.com/mark-when/timeline
[1] https://github.com/mark-when/view-client/blob/9eddc1a2cf79b4...
[2] https://discord.gg/3rTpUD94ac
Perfect, thanks!