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

Update main example to note the URL contains code #300

Merged
merged 2 commits into from
Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ New features:
Bugfixes:

Other improvements:
- Update main example to note that editor state is persisted in the URL (#300 by @thomashoneyman)

## [v2022-09-10.1](https://github.com/purescript/trypurescript/releases/tag/v2022-09-10.1)

Expand Down
3 changes: 2 additions & 1 deletion client/examples/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ main =
, h2 (text "Examples")
, list (map fromExample examples)
, h2 (text "Share Your Code")
, p (text "A PureScript file can be loaded from GitHub from a gist or a repository. To share code using a gist, simply include the gist ID in the URL as follows:")
, p (text "The contents of the text editor are stored in the URL. To share your code you can simply copy the URL.")
, p (text "Additionally, a PureScript file can be loaded from GitHub from a gist or a repository. To share code using a gist, include the gist ID in the URL as follows:")
, indent (p (code (text " try.purescript.org?gist=<gist id>")))
, p (fold
[ text "The gist should contain PureScript module named "
Expand Down