Skip to content

Commit b5699e5

Browse files
committed
Refactor to make installation section smaller
1 parent 066a482 commit b5699e5

File tree

1 file changed

+4
-27
lines changed

1 file changed

+4
-27
lines changed

readme.md

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,10 @@ Markdown heading as ranges in [**mdast**](https://github.com/wooorm/mdast).
1010
npm install mdast-heading
1111
```
1212

13-
[Component.js](https://github.com/componentjs/component):
14-
15-
```bash
16-
component install wooorm/mdast-heading
17-
```
18-
19-
[Bower](http://bower.io/#install-packages):
20-
21-
```bash
22-
bower install mdast-heading
23-
```
24-
25-
[Duo](http://duojs.org/#getting-started):
26-
27-
```javascript
28-
var heading = require('wooorm/mdast-heading');
29-
```
30-
31-
UMD (globals/AMD/CommonJS) ([uncompressed](mdast-heading.js) and [compressed](mdast-heading.min.js)):
32-
33-
```html
34-
<script src="path/to/mdast.js"></script>
35-
<script src="path/to/mdast-heading.js"></script>
36-
<script>
37-
mdast.use(mdastHeading);
38-
</script>
39-
```
13+
**mdast-heading** is also available for [bower](http://bower.io/#install-packages),
14+
[component](https://github.com/componentjs/component), and
15+
[duo](http://duojs.org/#getting-started), and as an AMD, CommonJS, and globals
16+
module, [uncompressed](mdast-heading.js) and [compressed](mdast-heading.min.js).
4017

4118
## Table of Contents
4219

0 commit comments

Comments
 (0)