Skip to content

Commit 4e23003

Browse files
committed
Refactor prose
1 parent 0a046fa commit 4e23003

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@
1111
"Titus Wormer <[email protected]> (wooorm.com)"
1212
],
1313
"devDependencies": {
14-
"remark-cli": "^6.0.0",
15-
"remark-preset-wooorm": "^5.0.0"
14+
"remark-cli": "^7.0.0",
15+
"remark-preset-wooorm": "^6.0.0"
1616
},
1717
"scripts": {
1818
"format": "remark . -qfo",
1919
"test": "npm run format"
2020
},
2121
"remarkConfig": {
2222
"plugins": [
23-
"preset-wooorm"
23+
"preset-wooorm",
24+
[
25+
"toc",
26+
{
27+
"heading": "contents"
28+
}
29+
]
2430
]
2531
}
2632
}

readme.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ This document may not be released.
1414
See [releases][] for released documents.
1515
The latest released version is [`2.3.0`][latest].
1616

17-
## Table of Contents
17+
## Contents
1818

1919
* [Introduction](#introduction)
2020
* [Where this specification fits](#where-this-specification-fits)
2121
* [Virtual DOM](#virtual-dom)
2222
* [Nodes](#nodes)
23-
* [Parent](#parent)
24-
* [Literal](#literal)
25-
* [Root](#root)
26-
* [Element](#element)
27-
* [Doctype](#doctype)
28-
* [Comment](#comment)
29-
* [Text](#text)
23+
* [`Parent`](#parent)
24+
* [`Literal`](#literal)
25+
* [`Root`](#root)
26+
* [`Element`](#element)
27+
* [`Doctype`](#doctype)
28+
* [`Comment`](#comment)
29+
* [`Text`](#text)
3030
* [Glossary](#glossary)
3131
* [List of Utilities](#list-of-utilities)
3232
* [Related HTML Utilities](#related-html-utilities)
@@ -194,13 +194,13 @@ DOM][concept-aria-reflection] ([\[ARIA\]][aria]), and differs from how some
194194
(older) HTML attributes are reflected in the DOM.
195195

196196
1. Any name referencing a combinations of multiple words (such as “stroke
197-
miter limit”) becomes a camelcased property name capitalising each word
197+
miter limit”) becomes a camelcased property name capitalizing each word
198198
boundary.
199199
This includes combinations that are sometimes written as several words.
200200
For example, `stroke-miterlimit` becomes `strokeMiterLimit`, `autocorrect`
201201
becomes `autoCorrect`, and `allowfullscreen` becomes `allowFullScreen`.
202202
2. Any name that can be hyphenated, becomes a camelcased property name
203-
capitalising each boundary.
203+
capitalizing each boundary.
204204
For example, “read-only” becomes `readOnly`.
205205
3. Compound words that are not used with spaces or hyphens are treated as a
206206
normal word and the previous rules apply.
@@ -586,11 +586,11 @@ ways to get started.
586586
See [`support.md`][support] for ways to get help.
587587
Ideas for new utilities and tools can be posted in [`syntax-tree/ideas`][ideas].
588588

589-
A curated list of awesome syntax-tree, unist, hast, mdast, and nlcst resources
590-
can be found in [awesome syntax-tree][awesome].
589+
A curated list of awesome syntax-tree, unist, mdast, hast, xast, and nlcst
590+
resources can be found in [awesome syntax-tree][awesome].
591591

592-
This project has a [Code of Conduct][coc].
593-
By interacting with this repository, organisation, or community you agree to
592+
This project has a [code of conduct][coc].
593+
By interacting with this repository, organization, or community you agree to
594594
abide by its terms.
595595

596596
## Acknowledgments

0 commit comments

Comments
 (0)