jgm / djot.js

JavaScript implementation of djot
MIT License
146 stars 16 forks source link

playground: fill placeholder with an example djot document #42

Open iceghost opened 1 year ago

iceghost commented 1 year ago

I think it would be nice if there is a djot document to play around with, readme.dj for example, rather than a blank document.

I suggest we fetch the file from GitHub on page load.

Some alternative:

I could try a PR if it is fine.

jgm commented 1 year ago

We used to have some sample text, but I removed it. I don't recall why. I'll think about it.