Skip to content

Commit 1a66124

Browse files
committedJun 12, 2017
Refactor markdown
1 parent ec34f16 commit 1a66124

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed
 

‎README.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![Build Status][travis-badge]][travis] [![Dependency Status][david-badge]][david]
66

7-
Select [Unist] nodes with CSS-like selectors.
7+
Select [Unist][] nodes with CSS-like selectors.
88

99
[unist]: https://github.com/wooorm/unist
1010

@@ -28,7 +28,7 @@ Get all TODO items from this list:
2828
3. TODO Step 3.3.
2929
```
3030

31-
[remark] takes this Markdown as an input and returns unist syntax tree. After that, we use `unist-util-select` to extract the required parts:
31+
[remark][] takes this Markdown as an input and returns unist syntax tree. After that, we use `unist-util-select` to extract the required parts:
3232

3333
```js
3434
var select = require('unist-util-select');
@@ -52,33 +52,33 @@ All the relevant parts of [Selectors Level 3][spec]:
5252

5353
[spec]: http://www.w3.org/TR/css3-selectors/
5454

55-
- [x] Type selectors: `paragraph`
56-
- [x] Descendant selectors: `paragraph text`
57-
- [x] Child selectors: `paragraph > text`
58-
- [x] Sibling selectors: `paragraph ~ text`
59-
- [x] Adjacent sibling selectors: `paragraph + text`
60-
- [x] Group selectors: `paragraph, text`
61-
- [x] Universal selector: `*`
62-
- [x] Attribute selectors: `text[value*="substr"]`
63-
- [x] Existence: `[value]`
64-
- [x] Equality: `[value="foo"]`
65-
- [x] Begins with: `[value^="prefix"]`
66-
- [x] Containment: `[value*="substr"]`
67-
- [x] Ends with: `[value$="suffix"]`
68-
- [x] Structural pseudo-classes: `paragraph:first-of-type`
69-
- [x] `:root`
70-
- [x] `:nth-child(2n+1)`
71-
- [x] `:nth-last-child(2n+1)`
72-
- [x] `:nth-of-type(2n+1)`
73-
- [x] `:nth-last-of-type(2n+1)`
74-
- [x] `:first-child`
75-
- [x] `:last-child`
76-
- [x] `:first-of-type`
77-
- [x] `:last-of-type`
78-
- [x] `:only-child`
79-
- [x] `:only-of-type`
80-
- [x] `:empty`
81-
- [x] Negation pseudo-class: `*:not(paragraph)`
55+
- [x] Type selectors: `paragraph`
56+
- [x] Descendant selectors: `paragraph text`
57+
- [x] Child selectors: `paragraph > text`
58+
- [x] Sibling selectors: `paragraph ~ text`
59+
- [x] Adjacent sibling selectors: `paragraph + text`
60+
- [x] Group selectors: `paragraph, text`
61+
- [x] Universal selector: `*`
62+
- [x] Attribute selectors: `text[value*="substr"]`
63+
- [x] Existence: `[value]`
64+
- [x] Equality: `[value="foo"]`
65+
- [x] Begins with: `[value^="prefix"]`
66+
- [x] Containment: `[value*="substr"]`
67+
- [x] Ends with: `[value$="suffix"]`
68+
- [x] Structural pseudo-classes: `paragraph:first-of-type`
69+
- [x] `:root`
70+
- [x] `:nth-child(2n+1)`
71+
- [x] `:nth-last-child(2n+1)`
72+
- [x] `:nth-of-type(2n+1)`
73+
- [x] `:nth-last-of-type(2n+1)`
74+
- [x] `:first-child`
75+
- [x] `:last-child`
76+
- [x] `:first-of-type`
77+
- [x] `:last-of-type`
78+
- [x] `:only-child`
79+
- [x] `:only-of-type`
80+
- [x] `:empty`
81+
- [x] Negation pseudo-class: `*:not(paragraph)`
8282

8383
## API
8484

0 commit comments

Comments
 (0)