News for hackers. Stuff that matters.
Re:Show HN: Markwhen: Markdown for Timelines by mholt on Monday July 31, 2023 @06:17PM (#36949640)
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?

Re:Show HN: Markwhen: Markdown for Timelines by koch on Monday July 31, 2023 @06:23PM (#36949690)
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, [email protected] 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

Re:Show HN: Markwhen: Markdown for Timelines by mholt on Monday July 31, 2023 @10:13PM (#36951529)
Perfect, thanks!