File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,44 @@ Otherwise, inline MDAST nodes are wrapped when needed.
66
66
67
67
[ ` MDASTNode ` ] [ mdast ] .
68
68
69
+ ##### Notes
70
+
71
+ ###### Implied sentences
72
+
73
+ The algorithm supports implicit and explicit paragraphs, such as:
74
+
75
+ ``` html
76
+ <article >
77
+ An implicit sentence.
78
+ <h1 >An explicit sentence.</h1 >
79
+ </article >
80
+ ```
81
+
82
+ Yields:
83
+
84
+ ``` markdown
85
+ An implicit sentence.
86
+
87
+ # An explicit sentence.
88
+ ```
89
+
90
+ ###### Ignored nodes
91
+
92
+ Some nodes are ignored and their content will not be present in MDAST.
93
+ To ignore custom elements, configure a handler for their tag-name or type that
94
+ returns nothing.
95
+ For example, to ignore ` em ` elements, pass ` handlers: {'em': function () {}} ` :
96
+
97
+ ``` html
98
+ <p ><strong >Importance</strong > and <em >emphasis</em >.</p >
99
+ ```
100
+
101
+ Yields:
102
+
103
+ ``` markdown
104
+ **Importance** and .
105
+ ```
106
+
69
107
## Related
70
108
71
109
* [ ` mdast-util-to-hast ` ] [ mdast-util-to-hast ]
You can’t perform that action at this time.
0 commit comments