Skip to content

Commit f4370b5

Browse files
committed
Readme housekeeping
[skip ci]
1 parent df42970 commit f4370b5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
A modern Wadler/Leijen Prettyprinter
66
====================================
77

8-
[![](https://img.shields.io/travis/quchen/prettyprinter/master.svg?style=flat-square&label=Master%20build)](https://travis-ci.org/quchen/prettyprinter)
9-
[![](https://img.shields.io/hackage/v/prettyprinter.svg?style=flat-square&label=Hackage&colorB=0a7bbb)](https://hackage.haskell.org/package/prettyprinter) [![](https://www.stackage.org/package/prettyprinter/badge/lts?style=flat-square&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter) [![](https://www.stackage.org/package/prettyprinter/badge/nightly?style=flat-square&label=stackage%20nightly&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter)
8+
[![](https://img.shields.io/travis/quchen/prettyprinter/master.svg?style=flat-square&label=Master%20build)](https://travis-ci.org/quchen/prettyprinter)
9+
[![](https://img.shields.io/hackage/v/prettyprinter.svg?style=flat-square&label=Hackage&colorB=0a7bbb)](https://hackage.haskell.org/package/prettyprinter)
10+
[![](https://www.stackage.org/package/prettyprinter/badge/lts?style=flat-square&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter)
11+
[![](https://www.stackage.org/package/prettyprinter/badge/nightly?style=flat-square&label=stackage%20nightly&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter)
1012

1113

1214

@@ -181,9 +183,9 @@ The most significant changes are:
181183
6. SimpleDoc was renamed `SimpleDocStream`, to contrast the new
182184
`SimpleDocTree`.
183185
7. In the ANSI backend, instead of providing an own colorization function for
184-
each color/intensity/layer combination, they have been combined in /color/
185-
/colorDull/, /bgColor/, and /bgColorDull/ functions, which can be found in
186-
the ANSI terminal specific @prettyprinter-ansi-terminal@ package.
186+
each color/intensity/layer combination, they have been combined in `color`,
187+
`colorDull`, `bgColor`, and `bgColorDull` functions, which can be found in
188+
the ANSI terminal specific `prettyprinter-ansi-terminal` package.
187189

188190

189191

prettyprinter/app/GenerateReadme.hs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ readmeContents = (mconcat . L.intersperse vspace)
2929

3030
, h1 "A modern Wadler/Leijen Prettyprinter"
3131

32-
, mconcat
32+
, vcat
3333
[ "[![](https://img.shields.io/travis/quchen/prettyprinter/master.svg?style=flat-square&label=Master%20build)](https://travis-ci.org/quchen/prettyprinter)"
34-
, " " <> hardline -- Awkwardly enough, two trailing spaces are a small break in Markdown.
35-
, hsep
36-
[ "[![](https://img.shields.io/hackage/v/prettyprinter.svg?style=flat-square&label=Hackage&colorB=0a7bbb)](https://hackage.haskell.org/package/prettyprinter)"
37-
, "[![](https://www.stackage.org/package/prettyprinter/badge/lts?style=flat-square&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter)"
38-
, "[![](https://www.stackage.org/package/prettyprinter/badge/nightly?style=flat-square&label=stackage%20nightly&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter)" ]]
34+
, "[![](https://img.shields.io/hackage/v/prettyprinter.svg?style=flat-square&label=Hackage&colorB=0a7bbb)](https://hackage.haskell.org/package/prettyprinter)"
35+
, "[![](https://www.stackage.org/package/prettyprinter/badge/lts?style=flat-square&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter)"
36+
, "[![](https://www.stackage.org/package/prettyprinter/badge/nightly?style=flat-square&label=stackage%20nightly&colorB=0a7bbb)](https://www.stackage.org/package/prettyprinter)" ]
3937

4038
, h2 "tl;dr"
4139
, paragraph [multiline| A prettyprinter/text rendering engine. Easy to
@@ -185,9 +183,9 @@ readmeContents = (mconcat . L.intersperse vspace)
185183
new `SimpleDocTree`. |]
186184
, [multiline| In the ANSI backend, instead of providing an own
187185
colorization function for each color/intensity/layer combination, they
188-
have been combined in /color/ /colorDull/, /bgColor/, and
189-
/bgColorDull/ functions, which can be found in the ANSI terminal
190-
specific @prettyprinter-ansi-terminal@ package. |]
186+
have been combined in `color`, `colorDull`, `bgColor`, and
187+
`bgColorDull` functions, which can be found in the ANSI terminal
188+
specific `prettyprinter-ansi-terminal` package. |]
191189
]
192190

193191
, h2 "Historical notes"

0 commit comments

Comments
 (0)