1212
1313## Contents
1414
15- * [ What is this?] ( #what-is-this )
16- * [ When should I use this?] ( #when-should-i-use-this )
17- * [ Install] ( #install )
18- * [ Use] ( #use )
19- * [ API] ( #api )
20- * [ ` isLiteral(parent, index|child) ` ] ( #isliteralparent-indexchild )
21- * [ Types] ( #types )
22- * [ Compatibility] ( #compatibility )
23- * [ Related] ( #related )
24- * [ Contribute] ( #contribute )
25- * [ License] ( #license )
15+ * [ What is this?] ( #what-is-this )
16+ * [ When should I use this?] ( #when-should-i-use-this )
17+ * [ Install] ( #install )
18+ * [ Use] ( #use )
19+ * [ API] ( #api )
20+ * [ ` isLiteral(parent, index|child) ` ] ( #isliteralparent-indexchild )
21+ * [ Types] ( #types )
22+ * [ Compatibility] ( #compatibility )
23+ * [ Related] ( #related )
24+ * [ Contribute] ( #contribute )
25+ * [ License] ( #license )
2626
2727## What is this?
2828
@@ -115,18 +115,18 @@ Check if the child in `parent` at `index` is enclosed by matching delimiters.
115115
116116For example, ` foo ` is literal in the following samples:
117117
118- * ` Foo - is meant as a literal. `
119- * ` Meant as a literal is - foo. `
120- * ` The word “foo” is meant as a literal. `
118+ * ` Foo - is meant as a literal. `
119+ * ` Meant as a literal is - foo. `
120+ * ` The word “foo” is meant as a literal. `
121121
122122###### Parameters
123123
124- * ` parent ` ([ ` Node ` ] [ node ] )
125- — parent node
126- * ` index ` (` number ` )
127- — index of child in parent
128- * ` child ` ([ ` Node ` ] [ node ] )
129- — child node of parent
124+ * ` parent ` ([ ` Node ` ] [ node ] )
125+ — parent node
126+ * ` index ` (` number ` )
127+ — index of child in parent
128+ * ` child ` ([ ` Node ` ] [ node ] )
129+ — child node of parent
130130
131131###### Returns
132132
@@ -149,10 +149,10 @@ compatible with Node.js 16.
149149
150150## Related
151151
152- * [ ` nlcst-normalize ` ] ( https://github.com/syntax-tree/nlcst-normalize )
153- — normalize a word for easier comparison
154- * [ ` nlcst-search ` ] ( https://github.com/syntax-tree/nlcst-search )
155- — search for patterns
152+ * [ ` nlcst-normalize ` ] ( https://github.com/syntax-tree/nlcst-normalize )
153+ — normalize a word for easier comparison
154+ * [ ` nlcst-search ` ] ( https://github.com/syntax-tree/nlcst-search )
155+ — search for patterns
156156
157157## Contribute
158158
0 commit comments