mark-when / markwhen

Make a cascading timeline from markdown-like text. Supports simple American/European date styles, ISO8601, images, links, locations, and more.
https://markwhen.com
MIT License
3.56k stars 126 forks source link

Feature Request: Import from Github Repo #33

Open jackheuberger opened 2 years ago

jackheuberger commented 2 years ago

It would be amazing if there was a way to pass in a github repo that has a .mw file in the root directory and automatically open the timeline. Maybe it could be built into the URL, something like markwhen.com/repo/(user)/(repo)?

This would allow for crowd-sourced collaboration on timelines without having to send a file back and forth.

kochrt commented 2 years ago

This seems like something the #from= syntax could be extended to do

kochrt commented 2 years ago

I was thinking you could just use a raw.githubusercontent.com path, like https://markwhen.com#from=https://raw.githubusercontent.com/.../myTimeline.mw but apparently you need a token 😔. So I'll actually have to do some work to implement it