Skip to content

Commit b4d9e10

Browse files
committed
Refactor readme.md
1 parent e079456 commit b4d9e10

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

readme.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ HTML4 character entity information.
44

55
## Installation
66

7-
[npm][npm-install]:
7+
[npm][]:
88

99
```bash
1010
npm install character-entities-html4
@@ -13,10 +13,10 @@ npm install character-entities-html4
1313
## Usage
1414

1515
```js
16-
console.log(characterEntities.AElig); // Æ
17-
console.log(characterEntities.aelig); // æ
18-
console.log(characterEntities.amp); // &
19-
console.log(characterEntities.apos); // undefined
16+
console.log(characterEntities.AElig); //=> 'Æ'
17+
console.log(characterEntities.aelig); //=> 'æ'
18+
console.log(characterEntities.amp); //=> '&'
19+
console.log(characterEntities.apos); //=> undefined
2020
```
2121

2222
## API
@@ -43,7 +43,7 @@ See [w3.org][html].
4343

4444
[codecov]: https://codecov.io/github/wooorm/character-entities-html4
4545

46-
[npm-install]: https://docs.npmjs.com/cli/install
46+
[npm]: https://docs.npmjs.com/cli/install
4747

4848
[license]: LICENSE
4949

0 commit comments

Comments
 (0)