Skip to content

Commit f5fd267

Browse files
committed
Refactor prose
1 parent 25c3225 commit f5fd267

File tree

1 file changed

+37
-14
lines changed

1 file changed

+37
-14
lines changed

readme.md

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
1-
# hast-util-script-supporting [![Build][build-badge]][build] [![Coverage][coverage-badge]][coverage] [![Downloads][downloads-badge]][downloads] [![Chat][chat-badge]][chat]
1+
# hast-util-script-supporting
22

3-
Check if a [HAST node][hast] is a [**script-supporting**][spec] [element][].
3+
[![Build][build-badge]][build]
4+
[![Coverage][coverage-badge]][coverage]
5+
[![Downloads][downloads-badge]][downloads]
6+
[![Size][size-badge]][size]
7+
[![Sponsors][sponsors-badge]][collective]
8+
[![Backers][backers-badge]][collective]
9+
[![Chat][chat-badge]][chat]
410

5-
## Installation
11+
[**hast**][hast] utility to check if an [*element*][element] is
12+
[*script-supporting*][spec].
13+
14+
## Install
615

716
[npm][]:
817

9-
```bash
18+
```sh
1019
npm install hast-util-script-supporting
1120
```
1221

1322
## Usage
1423

15-
```javascript
24+
```js
1625
var scriptSupporting = require('hast-util-script-supporting')
1726

1827
scriptSupporting({
@@ -33,15 +42,17 @@ scriptSupporting({
3342

3443
### `scriptSupporting(node)`
3544

36-
Check if the given value is a [**script-supporting**][spec] [element][].
45+
Check if the given value is a [*script-supporting*][spec] [*element*][element].
3746

3847
## Contribute
3948

40-
See [`contributing.md` in `syntax-tree/hast`][contributing] for ways to get
49+
See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
4150
started.
51+
See [`support.md`][support] for ways to get help.
4252

43-
This organisation has a [Code of Conduct][coc]. By interacting with this
44-
repository, organisation, or community you agree to abide by its terms.
53+
This project has a [Code of Conduct][coc].
54+
By interacting with this repository, organisation, or community you agree to
55+
abide by its terms.
4556

4657
## License
4758

@@ -61,22 +72,34 @@ repository, organisation, or community you agree to abide by its terms.
6172

6273
[downloads]: https://www.npmjs.com/package/hast-util-script-supporting
6374

75+
[size-badge]: https://img.shields.io/bundlephobia/minzip/hast-util-script-supporting.svg
76+
77+
[size]: https://bundlephobia.com/result?p=hast-util-script-supporting
78+
79+
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
80+
81+
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
82+
83+
[collective]: https://opencollective.com/unified
84+
6485
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
6586

66-
[chat]: https://spectrum.chat/unified/rehype
87+
[chat]: https://spectrum.chat/unified/syntax-tree
6788

6889
[npm]: https://docs.npmjs.com/cli/install
6990

7091
[license]: license
7192

7293
[author]: https://wooorm.com
7394

74-
[hast]: https://github.com/syntax-tree/hast
95+
[contributing]: https://github.com/syntax-tree/.github/blob/master/contributing.md
7596

76-
[element]: https://github.com/syntax-tree/hast#element
97+
[support]: https://github.com/syntax-tree/.github/blob/master/support.md
98+
99+
[coc]: https://github.com/syntax-tree/.github/blob/master/code-of-conduct.md
77100

78101
[spec]: https://html.spec.whatwg.org/#script-supporting-elements
79102

80-
[contributing]: https://github.com/syntax-tree/hast/blob/master/contributing.md
103+
[hast]: https://github.com/syntax-tree/hast
81104

82-
[coc]: https://github.com/syntax-tree/hast/blob/master/code-of-conduct.md
105+
[element]: https://github.com/syntax-tree/hast#element

0 commit comments

Comments
 (0)