Skip to content

Commit

Permalink
Update main example to note the URL contains code (#300)
Browse files Browse the repository at this point in the history
* Update main example to note the URL contains code

* Update CHANGELOG.md
  • Loading branch information
thomashoneyman authored Sep 16, 2022
1 parent 6e3e429 commit 577498d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit 577498d

Please sign in to comment.