1
1
# mdast-util-to-string [ ![ Build Status] [ build-badge ]] [ build-status ] [ ![ Coverage Status] [ coverage-badge ]] [ coverage-status ] [ ![ Chat] [ chat-badge ]] [ chat ]
2
2
3
- <!-- lint disable list-item-spacing heading-increment list-item-indent-->
4
-
5
3
Get the plain text content of an [ MDAST] [ ] node.
6
4
7
5
## Installation
@@ -12,9 +10,6 @@ Get the plain text content of an [MDAST][] node.
12
10
npm install mdast-util-to-string
13
11
```
14
12
15
- ** mdast-util-to-string** is also available as an AMD, CommonJS, and
16
- globals module, [ uncompressed and compressed] [ releases ] .
17
-
18
13
## Usage
19
14
20
15
``` js
@@ -39,14 +34,6 @@ joins them (without spaces or newlines).
39
34
> This is not a markdown to plain-text library.
40
35
> Use [ ` strip-markdown ` ] [ strip-markdown ] for that.
41
36
42
- ###### Parameters
43
-
44
- * ` node ` ([ ` Node ` ] [ node ] ) — Node to stringify
45
-
46
- ###### Returns
47
-
48
- ` string ` — text representation of ` node ` .
49
-
50
37
## License
51
38
52
39
[ MIT] [ license ] © [ Titus Wormer] [ author ]
@@ -65,8 +52,6 @@ joins them (without spaces or newlines).
65
52
66
53
[ chat ] : https://gitter.im/wooorm/remark
67
54
68
- [ releases ] : https://github.com/wooorm/mdast-util-to-string/releases
69
-
70
55
[ license ] : LICENSE
71
56
72
57
[ author ] : http://wooorm.com
@@ -75,6 +60,4 @@ joins them (without spaces or newlines).
75
60
76
61
[ mdast ] : https://github.com/wooorm/mdast
77
62
78
- [ node ] : https://github.com/wooorm/mdast#node
79
-
80
63
[ strip-markdown ] : https://github.com/wooorm/strip-markdown
0 commit comments