Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playground: fill placeholder with an example djot document #42

Open
iceghost opened this issue Jan 27, 2023 · 1 comment
Open

playground: fill placeholder with an example djot document #42

iceghost opened this issue Jan 27, 2023 · 1 comment

Comments

@iceghost
Copy link

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:

  • Inline it inside the HTML in the make build process.
  • Fetch on demand, i.e add some sort of buttons or selects (this could be better to extend to more examples file)

I could try a PR if it is fine.

@jgm
Copy link
Owner

jgm commented Jan 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants