Skip to content

Commit 220c6f9

Browse files
authored
chore: update readme.md
1 parent 401d254 commit 220c6f9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# web-resource-inliner [![build status](https://api.travis-ci.org/jrit/web-resource-inliner.svg)](http://travis-ci.org/jrit/web-resource-inliner)
1+
# web-resource-inliner [![Build][github-ci-shield]][github-ci]
22

33
Brings externally referenced resources, such as js, css and images, into a single file.
44

55
For example:
66

77
```html
8-
<link href="css/style.css" rel="stylesheet" data-inline >
8+
<link href="css/style.css" rel="stylesheet" data-inline>
99
```
1010
is replaced with
1111
```html
1212
<style>
13-
/* contents of css/style.css */
13+
/* contents of css/style.css */
1414
</style>
1515
```
1616

@@ -20,7 +20,8 @@ By default, all links and scripts are inlined, plus any images under 8KB, howeve
2020

2121

2222
## Getting Started
23-
```
23+
24+
```sh
2425
npm install web-resource-inliner
2526
```
2627

@@ -78,3 +79,7 @@ Allows to make changes to links before they are inlined, such as CSS pre-and-pos
7879

7980
## Contributing
8081
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Run tests with `npm test`.
82+
83+
84+
[github-ci]: https://github.com/maizzle/framework/actions
85+
[github-ci-shield]: https://github.com/maizzle/framework/actions/workflows/nodejs.yml/badge.svg

0 commit comments

Comments
 (0)