Skip to content

Commit d8e3b3d

Browse files
committed
Update readme.md
1 parent b161177 commit d8e3b3d

File tree

2 files changed

+8
-46
lines changed

2 files changed

+8
-46
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"email": "scrum@list.ru"
5959
}
6060
],
61-
"homepage": "https://posthtml.org",
61+
"homepage": "https://github.com/posthtml/posthtml",
6262
"repository": "https://github.com/posthtml/posthtml.git",
6363
"bugs": "https://github.com/posthtml/posthtml/issues",
6464
"license": "MIT"

readme.md

Lines changed: 7 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,17 @@
1-
[![NPM][npm]][npm-url]
2-
[![Tests][build]][build-url]
3-
[![Coverage][cover]][cover-url]
4-
[![Standard Code Style][code-style]][code-style-url]
5-
61
# PostHTML <img align="right" width="220" height="200" title="PostHTML" src="http://posthtml.github.io/posthtml/logo.svg">
72

83
PostHTML is a tool for transforming HTML/XML with JS plugins. PostHTML itself is very small. It includes only a HTML parser, a HTML node tree API and a node tree stringifier.
94

105
All HTML transformations are made by plugins. And these plugins are just small plain JS functions, which receive a HTML node tree, transform it, and return a modified tree.
116

12-
For more detailed information about PostHTML in general take a look at the [docs][docs-url].
7+
For more detailed information about PostHTML in general take a look at the [docs](https://github.com/posthtml/posthtml/tree/master/docs).
138

149
### Dependencies
1510

16-
| Name | Status | Description |
17-
|:----:|:------:|:-----------:|
18-
|[posthtml-parser][parser]|[![npm][parser-badge]][parser-npm]| Parser HTML/XML to PostHTMLTree |
19-
|[posthtml-render][render]|[![npm][render-badge]][render-npm]| Render PostHTMLTree to HTML/XML |
20-
21-
22-
[docs]: https://github.com/posthtml/posthtml/blob/master/docs
23-
24-
[parser]: https://github.com/posthtml/posthtml-parser
25-
[parser-badge]: https://img.shields.io/npm/v/posthtml-parser.svg
26-
[parser-npm]: https://npmjs.com/package/posthtml-parser
27-
28-
[render]: https://github.com/posthtml/posthtml-render
29-
[render-badge]: https://img.shields.io/npm/v/posthtml-render.svg
30-
[render-npm]: https://npmjs.com/package/posthtml-render
11+
| Name | Description |
12+
|:----:|:-----------:|
13+
|[posthtml-parser](https://github.com/posthtml/posthtml-parser)| Parser HTML/XML to PostHTMLTree |
14+
|[posthtml-render](https://github.com/posthtml/posthtml-render)| Render PostHTMLTree to HTML/XML |
3115

3216
## Create to your project
3317

@@ -334,17 +318,9 @@ posthtml().process(html, { parser: pug(options) }).then((result) => result.html)
334318

335319
| Name |Status|Description|
336320
|:-----|:-----|:----------|
337-
|[posthtml-pug][pug]|[![npm][pug-badge]][pug-npm]|Pug Parser|
338-
|[sugarml][sugar]|[![npm][sugar-badge]][sugar-npm]|SugarML Parser|
339-
321+
|[posthtml-pug](https://github.com/posthtml/posthtml-pug)|Pug Parser|
322+
|[sugarml](https://github.com/posthtml/sugarml)|SugarML Parser|
340323

341-
[pug]: https://github.com/posthtml/posthtml-pug
342-
[pug-badge]: https://img.shields.io/npm/v/posthtml-pug.svg
343-
[pug-npm]: https://npmjs.com/package/posthtml-pug
344-
345-
[sugar]: https://github.com/posthtml/sugarml
346-
[sugar-badge]: https://img.shields.io/npm/v/sugarml.svg
347-
[sugar-npm]: https://npmjs.com/package/sugarml
348324

349325
## Plugins
350326

@@ -386,19 +362,5 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com
386362

387363
<a href="https://opencollective.com/posthtml#backers" target="_blank"><img src="https://opencollective.com/posthtml/backers.svg?width=885&button=false"></a>
388364

389-
390-
[npm]: https://img.shields.io/npm/v/posthtml.svg
391-
[npm-url]: https://npmjs.com/package/posthtml
392-
393-
[build]: https://github.com/posthtml/posthtml/workflows/Actions%20Status/badge.svg?style=flat-square
394-
[build-url]: https://github.com/posthtml/posthtml/actions?query=workflow%3A%22CI+tests%22
395-
396-
[cover]: https://coveralls.io/repos/posthtml/posthtml/badge.svg?branch=master
397-
[cover-url]: https://coveralls.io/r/posthtml/posthtml?branch=master
398-
399-
[code-style]: https://img.shields.io/badge/code%20style-standard-yellow.svg
400-
[code-style-url]: http://standardjs.com/
401-
402365
[chat]: https://badges.gitter.im/posthtml/PostHTML.svg
403366
[chat-url]: https://gitter.im/posthtml/posthtml?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"
404-
[docs-url]: https://github.com/posthtml/posthtml/tree/master/docs

0 commit comments

Comments
 (0)