Skip to content

Commit 0b5e501

Browse files
committed
Update dev-dependencies
1 parent 8fbc0eb commit 0b5e501

File tree

2 files changed

+45
-45
lines changed

2 files changed

+45
-45
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
},
4242
"devDependencies": {
4343
"@types/node": "^20.0.0",
44-
"c8": "^8.0.0",
44+
"c8": "^10.0.0",
4545
"prettier": "^3.0.0",
4646
"rehype": "^13.0.0",
47-
"remark-cli": "^11.0.0",
48-
"remark-preset-wooorm": "^9.0.0",
47+
"remark-cli": "^12.0.0",
48+
"remark-preset-wooorm": "^10.0.0",
4949
"type-coverage": "^2.0.0",
5050
"typescript": "^5.0.0",
51-
"xo": "^0.56.0"
51+
"xo": "^0.58.0"
5252
},
5353
"scripts": {
5454
"build": "tsc --build --clean && tsc --build && type-coverage",

readme.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@
1313

1414
## Contents
1515

16-
* [What is this?](#what-is-this)
17-
* [When should I use this?](#when-should-i-use-this)
18-
* [Install](#install)
19-
* [Use](#use)
20-
* [API](#api)
21-
* [`unified().use(rehypeHighlight[, options])`](#unifieduserehypehighlight-options)
22-
* [`Options`](#options)
23-
* [Example](#example)
24-
* [Example: ignoring](#example-ignoring)
25-
* [Example: registering](#example-registering)
26-
* [Example: aliases](#example-aliases)
27-
* [Example: sanitation](#example-sanitation)
28-
* [Types](#types)
29-
* [Compatibility](#compatibility)
30-
* [Security](#security)
31-
* [Related](#related)
32-
* [Contribute](#contribute)
33-
* [License](#license)
16+
* [What is this?](#what-is-this)
17+
* [When should I use this?](#when-should-i-use-this)
18+
* [Install](#install)
19+
* [Use](#use)
20+
* [API](#api)
21+
* [`unified().use(rehypeHighlight[, options])`](#unifieduserehypehighlight-options)
22+
* [`Options`](#options)
23+
* [Example](#example)
24+
* [Example: ignoring](#example-ignoring)
25+
* [Example: registering](#example-registering)
26+
* [Example: aliases](#example-aliases)
27+
* [Example: sanitation](#example-sanitation)
28+
* [Types](#types)
29+
* [Compatibility](#compatibility)
30+
* [Security](#security)
31+
* [Related](#related)
32+
* [Contribute](#contribute)
33+
* [License](#license)
3434

3535
## What is this?
3636

@@ -143,8 +143,8 @@ Apply syntax highlighting.
143143

144144
###### Parameters
145145

146-
* `options` ([`Options`][api-options], optional)
147-
— configuration
146+
* `options` ([`Options`][api-options], optional)
147+
— configuration
148148

149149
###### Returns
150150

@@ -156,23 +156,23 @@ Configuration (TypeScript type).
156156

157157
###### Fields
158158

159-
* `aliases` (`Record<string, Array<string> | string>`, optional)
160-
— register more aliases;
161-
passed to [`lowlight.registerAlias`][lowlight-register-alias]
162-
* `detect` (`boolean`, default: `false`)
163-
— highlight code without language classes by guessing its programming
164-
language
165-
* `languages` (`Record<string, LanguageFn>`, default:
166-
[`common`][lowlight-common])
167-
— register languages; passed to [`lowlight.register`][lowlight-register]
168-
* `plainText` (`Array<string>`, optional)
169-
— list of language names to not highlight;
170-
note you can also add `no-highlight` classes
171-
* `prefix` (`string`, default: `'hljs-'`)
172-
— class prefix
173-
* `subset` (`Array<string>`, default: default: [all][lowlight-all] registered
174-
languages)
175-
— names of languages to check when detecting
159+
* `aliases` (`Record<string, Array<string> | string>`, optional)
160+
— register more aliases;
161+
passed to [`lowlight.registerAlias`][lowlight-register-alias]
162+
* `detect` (`boolean`, default: `false`)
163+
— highlight code without language classes by guessing its programming
164+
language
165+
* `languages` (`Record<string, LanguageFn>`, default:
166+
[`common`][lowlight-common])
167+
— register languages; passed to [`lowlight.register`][lowlight-register]
168+
* `plainText` (`Array<string>`, optional)
169+
— list of language names to not highlight;
170+
note you can also add `no-highlight` classes
171+
* `prefix` (`string`, default: `'hljs-'`)
172+
— class prefix
173+
* `subset` (`Array<string>`, default: default: [all][lowlight-all] registered
174+
languages)
175+
— names of languages to check when detecting
176176

177177
## Example
178178

@@ -376,10 +376,10 @@ When in doubt, use [`rehype-sanitize`][rehype-sanitize].
376376
377377
## Related
378378
379-
* [`rehype-meta`](https://github.com/rehypejs/rehype-meta)
380-
— add metadata to the head of a document
381-
* [`rehype-document`](https://github.com/rehypejs/rehype-document)
382-
— wrap a fragment in a document
379+
* [`rehype-meta`](https://github.com/rehypejs/rehype-meta)
380+
— add metadata to the head of a document
381+
* [`rehype-document`](https://github.com/rehypejs/rehype-document)
382+
— wrap a fragment in a document
383383
384384
## Contribute
385385

0 commit comments

Comments
 (0)