Skip to content

Commit ea58edd

Browse files
committed
Refactor prose
1 parent 51c7858 commit ea58edd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

readme.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Backers][backers-badge]][collective]
99
[![Chat][chat-badge]][chat]
1010

11-
[**hast**][hast] utility to transform to HTML.
11+
[**hast**][hast] utility to serialize to HTML.
1212

1313
## Install
1414

@@ -102,8 +102,8 @@ Not used in the SVG space.
102102

103103
###### `options.collapseEmptyAttributes`
104104

105-
Collapse empty attributes: `class=""` is stringified as `class` instead
106-
(`boolean`, default: `false`).
105+
Collapse empty attributes: get `class` instead of `class=""` (`boolean`,
106+
default: `false`).
107107
**Note**: boolean attributes, such as `hidden`, are always collapsed.
108108

109109
Not used in the SVG space.
@@ -139,8 +139,8 @@ padding them on the right as well (`,·`, where `·` represents a space)
139139

140140
###### `options.tightAttributes`
141141

142-
Join attributes together, without white-space, if possible: `class="a b"
143-
title="c d"` is stringified as `class="a b"title="c d"` instead to save bytes
142+
Join attributes together, without white-space, if possible: get
143+
`class="a b"title="c d"` instead of `class="a b" title="c d"` to save bytes
144144
(`boolean`, default: `false`).
145145
**Note**: creates invalid (but working) markup.
146146

@@ -191,8 +191,8 @@ See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
191191
started.
192192
See [`support.md`][support] for ways to get help.
193193

194-
This project has a [Code of Conduct][coc].
195-
By interacting with this repository, organisation, or community you agree to
194+
This project has a [code of conduct][coc].
195+
By interacting with this repository, organization, or community you agree to
196196
abide by its terms.
197197

198198
## License
@@ -223,7 +223,7 @@ abide by its terms.
223223

224224
[collective]: https://opencollective.com/unified
225225

226-
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
226+
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg
227227

228228
[chat]: https://spectrum.chat/unified/syntax-tree
229229

0 commit comments

Comments
 (0)