Skip to content

Commit

Permalink
Merge pull request #109 from chshersh/patch-2
Browse files Browse the repository at this point in the history
Use absolute URLs for images in README.md
  • Loading branch information
cdepillabout authored May 11, 2022
2 parents 1ea099e + b4f2f30 commit 380829e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ more deeply nested. It would be even more difficult to read.

`pretty-simple` can be used to print `bar` in an easy-to-read format:

![example screenshot](/img/pretty-simple-example-screenshot.png?raw=true "example screenshot")
![example screenshot](https://raw.githubusercontent.com/cdepillabout/pretty-simple/master/img/pretty-simple-example-screenshot.png)

## Usage

Expand Down Expand Up @@ -175,7 +175,7 @@ Just like Haskell's normal `print` output, this is pretty hard to read.
`pretty-simple` can be used to pretty-print the JSON-encoded `bar` in an
easy-to-read format:

![json example screenshot](/img/pretty-simple-json-example-screenshot.png?raw=true "json example screenshot")
![json example screenshot](https://raw.githubusercontent.com/cdepillabout/pretty-simple/master/img/pretty-simple-json-example-screenshot.png)

(You can find the `lazyByteStringToString`, `putLazyByteStringLn`,
and `putLazyTextLn` in the [`ExampleJSON.hs`](example/ExampleJSON.hs)
Expand All @@ -195,7 +195,7 @@ $ stack install pretty-simple
When run on the command line, you can paste in the Haskell datatype you want to
be formatted, then hit <kbd>Ctrl</kbd>-<kbd>D</kbd>:

![cli example screenshot](/img/pretty-simple-cli-screenshot.png?raw=true "cli example screenshot")
![cli example screenshot](https://raw.githubusercontent.com/cdepillabout/pretty-simple/master/img/pretty-simple-cli-screenshot.png)

This is very useful if you accidentally print out a Haskell data type with
`print` instead of `pPrint`.
Expand Down

0 comments on commit 380829e

Please sign in to comment.