(https://wooorm.com)"
+ ],
+ "sideEffects": false,
+ "type": "module",
+ "exports": "./index.js",
+ "files": [
+ "lib/",
+ "index.d.ts",
+ "index.js"
+ ],
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-sanitize": "^5.0.0"
+ },
+ "devDependencies": {
+ "@types/node": "^20.0.0",
+ "c8": "^8.0.0",
+ "deepmerge": "^4.0.0",
+ "prettier": "^3.0.0",
+ "rehype": "^13.0.0",
+ "remark-cli": "^11.0.0",
+ "remark-preset-wooorm": "^9.0.0",
+ "type-coverage": "^2.0.0",
+ "typescript": "^5.0.0",
+ "xo": "^0.56.0"
+ },
+ "scripts": {
+ "build": "tsc --build --clean && tsc --build && type-coverage",
+ "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
+ "prepack": "npm run build && npm run format",
+ "test": "npm run build && npm run format && npm run test-coverage",
+ "test-api": "node --conditions development test.js",
+ "test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api"
+ },
+ "prettier": {
+ "bracketSpacing": false,
+ "singleQuote": true,
+ "semi": false,
+ "tabWidth": 2,
+ "trailingComma": "none",
+ "useTabs": false
+ },
+ "remarkConfig": {
+ "plugins": [
+ "remark-preset-wooorm"
+ ]
+ },
+ "typeCoverage": {
+ "atLeast": 100,
+ "detail": true,
+ "ignoreCatch": true,
+ "strict": true
+ },
+ "xo": {
+ "prettier": true
+ }
+}
diff --git a/node_modules/rehype-sanitize/readme.md b/node_modules/rehype-sanitize/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..0878b6c062b298b1b5a44b878768b230200eb932
--- /dev/null
+++ b/node_modules/rehype-sanitize/readme.md
@@ -0,0 +1,571 @@
+# rehype-sanitize
+
+[![Build][build-badge]][build]
+[![Coverage][coverage-badge]][coverage]
+[![Downloads][downloads-badge]][downloads]
+[![Size][size-badge]][size]
+[![Sponsors][sponsors-badge]][collective]
+[![Backers][backers-badge]][collective]
+[![Chat][chat-badge]][chat]
+
+**[rehype][]** plugin to sanitize HTML.
+
+## Contents
+
+* [What is this?](#what-is-this)
+* [When should I use this?](#when-should-i-use-this)
+* [Install](#install)
+* [Use](#use)
+* [API](#api)
+ * [`defaultSchema`](#defaultschema)
+ * [`unified().use(rehypeSanitize[, schema])`](#unifieduserehypesanitize-schema)
+ * [`Options`](#options)
+* [Example](#example)
+ * [Example: headings (DOM clobbering)](#example-headings-dom-clobbering)
+ * [Example: math](#example-math)
+ * [Example: syntax highlighting](#example-syntax-highlighting)
+* [Types](#types)
+* [Compatibility](#compatibility)
+* [Security](#security)
+* [Related](#related)
+* [Contribute](#contribute)
+* [License](#license)
+
+## What is this?
+
+This package is a [unified][] ([rehype][]) plugin to make sure HTML is safe.
+It drops anything that isn’t explicitly allowed by a schema (defaulting to how
+`github.com` works).
+
+**unified** is a project that transforms content with abstract syntax trees
+(ASTs).
+**rehype** adds support for HTML to unified.
+**hast** is the HTML AST that rehype uses.
+This is a rehype plugin that transforms hast.
+
+## When should I use this?
+
+It’s recommended to sanitize your HTML any time you do not completely trust
+authors or the plugins being used.
+
+This plugin is built on [`hast-util-sanitize`][hast-util-sanitize], which cleans
+[hast][] syntax trees.
+rehype focusses on making it easier to transform content by abstracting such
+internals away.
+
+## Install
+
+This package is [ESM only][esm].
+In Node.js (version 16+), install with [npm][]:
+
+```sh
+npm install rehype-sanitize
+```
+
+In Deno with [`esm.sh`][esmsh]:
+
+```js
+import rehypeSanitize from 'https://esm.sh/rehype-sanitize@6'
+```
+
+In browsers with [`esm.sh`][esmsh]:
+
+```html
+
+```
+
+## Use
+
+Say we have the following file `index.html`:
+
+```html
+
+
+```
+
+…and our module `example.js` looks as follows:
+
+```js
+import rehypeParse from 'rehype-parse'
+import rehypeSanitize from 'rehype-sanitize'
+import rehypeStringify from 'rehype-stringify'
+import {read} from 'to-vfile'
+import {unified} from 'unified'
+
+const file = await unified()
+ .use(rehypeParse, {fragment: true})
+ .use(rehypeSanitize)
+ .use(rehypeStringify)
+ .process(await read('index.html'))
+
+console.log(String(file))
+```
+
+Now running `node example.js` yields:
+
+```html
+
+```
+
+## API
+
+This package exports the identifier [`defaultSchema`][api-default-schema].
+The default export is [`rehypeSanitize`][api-rehype-sanitize].
+
+### `defaultSchema`
+
+Default schema ([`Options`][api-options]).
+
+Follows GitHub style sanitation.
+
+### `unified().use(rehypeSanitize[, schema])`
+
+Sanitize HTML.
+
+###### Parameters
+
+* `options` ([`Options`][api-options], optional)
+ — configuration
+
+###### Returns
+
+Transform ([`Transformer`][unified-transformer]).
+
+### `Options`
+
+Schema that defines what nodes and properties are allowed (TypeScript type).
+
+This option is a bit advanced as it requires knowledge of syntax trees, so see
+the docs for [`Schema` in `hast-util-sanitize`][hast-util-sanitize-schema].
+
+## Example
+
+### Example: headings (DOM clobbering)
+
+DOM clobbering is an attack in which malicious HTML confuses an application by
+naming elements, through `id` or `name` attributes, such that they overshadow
+presumed properties in `window` (the global scope in browsers).
+DOM clobbering often occurs when user content is used to generate heading IDs.
+To illustrate, say we have this `browser.js` file:
+
+```js
+console.log(current)
+```
+
+And our module `example.js` contains:
+
+```js
+/**
+ * @typedef {import('hast').Root} Root
+ */
+
+import fs from 'node:fs/promises'
+import rehypeParse from 'rehype-parse'
+import rehypeStringify from 'rehype-stringify'
+import {unified} from 'unified'
+
+const browser = String(await fs.readFile('browser.js'))
+const document = `
+Current
+${`${'Lorem ipsum dolor sit amet. '.repeat(20)}
\n`.repeat(20)}
+Link to current, link to old.`
+
+const file = await unified()
+ .use(rehypeParse, {fragment: true})
+ .use(function () {
+ /**
+ * @param {Root} tree
+ */
+ return function (tree) {
+ tree.children.push({
+ type: 'element',
+ tagName: 'script',
+ properties: {type: 'module'},
+ children: [{type: 'text', value: browser}]
+ })
+ }
+ })
+ .use(rehypeStringify)
+ .process(document)
+
+await fs.writeFile('output.html', String(file))
+```
+
+This code processes HTML, inlines our browser script into it, and writes it out.
+The input HTML models how markdown often looks on platforms like GitHub, which
+allow heading IDs to be generated from their text and embedded HTML (including
+``, which can be used to create anchors for renamed headings
+to prevent links from breaking).
+The generated HTML looks like:
+
+```html
+
+
Current
+Lorem ipsum dolor sit amet.
+Link to current, link to old.
+
+```
+
+When you run this code locally and open the generated `output.html`, you can
+observe that the links at the bottom work, but also that the `` element
+is printed to the console (the clobbering).
+
+`rehype-sanitize` solves the clobbering by prefixing every `id` and `name`
+attribute with `'user-content-'`.
+Changing `example.js`:
+
+```diff
+@@ -15,6 +15,7 @@ ${`
${'Lorem ipsum dolor sit amet. '.repeat(20)}
\n`.repeat(20)}
+
+ const file = await unified()
+ .use(rehypeParse, {fragment: true})
++ .use(rehypeSanitize)
+ .use(function () {
+ /**
+ * @param {Root} tree
+```
+
+Now yields:
+
+```diff
+-
+-Current
++
++Current
+```
+
+This introduces another problem as the links are now broken.
+It could perhaps be solved by changing all links, but that would make the links
+rather ugly, and we’d need to track what IDs we have outside of the user content
+on our pages too.
+Alternatively, and what arguably looks better, we could rewrite pretty links to
+their safe but ugly prefixed elements.
+This is what GitHub does.
+Replace `browser.js` with the following:
+
+```js
+///
+/* eslint-env browser */
+
+// Page load (you could wrap this in a DOM ready if the script is loaded early).
+hashchange()
+
+// When URL changes.
+window.addEventListener('hashchange', hashchange)
+
+// When on the URL already, perhaps after scrolling, and clicking again, which
+// doesn’t emit `hashchange`.
+document.addEventListener(
+ 'click',
+ function (event) {
+ if (
+ event.target &&
+ event.target instanceof HTMLAnchorElement &&
+ event.target.href === location.href &&
+ location.hash.length > 1
+ ) {
+ setImmediate(function () {
+ if (!event.defaultPrevented) {
+ hashchange()
+ }
+ })
+ }
+ },
+ false
+)
+
+function hashchange() {
+ /** @type {string | undefined} */
+ let hash
+
+ try {
+ hash = decodeURIComponent(location.hash.slice(1)).toLowerCase()
+ } catch {
+ return
+ }
+
+ const name = 'user-content-' + hash
+ const target =
+ document.getElementById(name) || document.getElementsByName(name)[0]
+
+ if (target) {
+ setImmediate(function () {
+ target.scrollIntoView()
+ })
+ }
+}
+```
+
+### Example: math
+
+Math can be enabled in rehype by using the plugins
+[`rehype-katex`][rehype-katex] or [`rehype-mathjax`][rehype-mathjax].
+The operate on `span`s and `div`s with certain classes and inject complex markup
+and of inline styles, most of which this plugin will remove.
+Say our module `example.js` contains:
+
+```js
+import rehypeKatex from 'rehype-katex'
+import rehypeParse from 'rehype-parse'
+import rehypeSanitize from 'rehype-sanitize'
+import rehypeStringify from 'rehype-stringify'
+import {unified} from 'unified'
+
+const file = await unified()
+ .use(rehypeParse, {fragment: true})
+ .use(rehypeKatex)
+ .use(rehypeSanitize)
+ .use(rehypeStringify)
+ .process('L')
+
+console.log(String(file))
+```
+
+Running that yields:
+
+```html
+LLL
+```
+
+It is possible to pass a schema which allows MathML and inline styles, but it
+would be complex, and allows *all* inline styles, which is unsafe.
+Alternatively, and arguably better, would be to *first* sanitize the HTML,
+allowing only the specific classes that `rehype-katex` and `rehype-mathjax` use,
+and *then* using those plugins:
+
+```diff
+@@ -1,7 +1,7 @@
+ import rehypeKatex from 'rehype-katex'
+ import rehypeParse from 'rehype-parse'
+-import rehypeSanitize from 'rehype-sanitize'
++import rehypeSanitize, {defaultSchema} from 'rehype-sanitize'
+ import rehypeStringify from 'rehype-stringify'
+ import {unified} from 'unified'
+
+ main()
+@@ -9,8 +9,21 @@ main()
+ const file = await unified()
+ .use(rehypeParse, {fragment: true})
++ .use(rehypeSanitize, {
++ ...defaultSchema,
++ attributes: {
++ ...defaultSchema.attributes,
++ div: [
++ ...(defaultSchema.attributes.div || []),
++ ['className', 'math', 'math-display']
++ ],
++ span: [
++ ...(defaultSchema.attributes.span || []),
++ ['className', 'math', 'math-inline']
++ ]
++ }
++ })
+ .use(rehypeKatex)
+- .use(rehypeSanitize)
+ .use(rehypeStringify)
+ .process('L')
+```
+
+### Example: syntax highlighting
+
+Highlighting, for example with [`rehype-highlight`][rehype-highlight], can be
+solved similar to how math is solved (see previous example).
+That is, use `rehype-sanitize` and allow the classes needed for highlighting,
+and highlight afterwards:
+
+```js
+import rehypeHighlight from 'rehype-highlight'
+import rehypeParse from 'rehype-parse'
+import rehypeSanitize, {defaultSchema} from 'rehype-sanitize'
+import rehypeStringify from 'rehype-stringify'
+import {unified} from 'unified'
+
+const file = await unified()
+ .use(rehypeParse, {fragment: true})
+ .use(rehypeSanitize, {
+ ...defaultSchema,
+ attributes: {
+ ...defaultSchema.attributes,
+ code: [
+ ...(defaultSchema.attributes.code || []),
+ // List of all allowed languages:
+ ['className', 'language-js', 'language-css', 'language-md']
+ ]
+ }
+ })
+ .use(rehypeHighlight, {subset: false})
+ .use(rehypeStringify)
+ .process('console.log(1)
')
+
+console.log(String(file))
+```
+
+Alternatively, it’s possible to make highlighting safe by allowing all the
+classes used on tokens.
+Modifying the above code like so:
+
+```diff
+ const file = await unified()
+ .use(rehypeParse, {fragment: true})
++ .use(rehypeHighlight, {subset: false})
+ .use(rehypeSanitize, {
+ ...defaultSchema,
+ attributes: {
+ ...defaultSchema.attributes,
+- code: [
+- ...(defaultSchema.attributes.code || []),
+- // List of all allowed languages:
+- ['className', 'hljs', 'language-js', 'language-css', 'language-md']
++ span: [
++ ...(defaultSchema.attributes.span || []),
++ // List of all allowed tokens:
++ ['className', 'hljs-addition', 'hljs-attr', 'hljs-attribute', 'hljs-built_in', 'hljs-bullet', 'hljs-char', 'hljs-code', 'hljs-comment', 'hljs-deletion', 'hljs-doctag', 'hljs-emphasis', 'hljs-formula', 'hljs-keyword', 'hljs-link', 'hljs-literal', 'hljs-meta', 'hljs-name', 'hljs-number', 'hljs-operator', 'hljs-params', 'hljs-property', 'hljs-punctuation', 'hljs-quote', 'hljs-regexp', 'hljs-section', 'hljs-selector-attr', 'hljs-selector-class', 'hljs-selector-id', 'hljs-selector-pseudo', 'hljs-selector-tag', 'hljs-string', 'hljs-strong', 'hljs-subst', 'hljs-symbol', 'hljs-tag', 'hljs-template-tag', 'hljs-template-variable', 'hljs-title', 'hljs-type', 'hljs-variable'
++ ]
+ ]
+ }
+ })
+- .use(rehypeHighlight, {subset: false})
+ .use(rehypeStringify)
+ .process('console.log(1)
')
+```
+
+## Types
+
+This package is fully typed with [TypeScript][].
+It exports the additional type [`Options`][api-options].
+
+## Compatibility
+
+Projects maintained by the unified collective are compatible with maintained
+versions of Node.js.
+
+When we cut a new major release, we drop support for unmaintained versions of
+Node.
+This means we try to keep the current release line, `rehype-sanitize@^6`,
+compatible with Node.js 16.
+
+This plugin works with `rehype-parse` version 3+, `rehype-stringify` version 3+,
+`rehype` version 5+, and `unified` version 6+.
+
+## Security
+
+The defaults are safe but improper use of `rehype-sanitize` can open you up to a
+[cross-site scripting (XSS)][xss] attack.
+
+Use `rehype-sanitize` after the last unsafe thing: everything after
+`rehype-sanitize` could be unsafe (but is fine if you do trust it).
+
+## Related
+
+* [`hast-util-sanitize`](https://github.com/syntax-tree/hast-util-sanitize)
+ — utility to sanitize [hast][]
+* [`rehype-format`](https://github.com/rehypejs/rehype-format)
+ — format HTML
+* [`rehype-minify`](https://github.com/rehypejs/rehype-minify)
+ — minify HTML
+
+## Contribute
+
+See [`contributing.md`][contributing] in [`rehypejs/.github`][health] for ways
+to get started.
+See [`support.md`][support] for ways to get help.
+
+This project has a [code of conduct][coc].
+By interacting with this repository, organization, or community you agree to
+abide by its terms.
+
+## License
+
+[MIT][license] © [Titus Wormer][author]
+
+
+
+[build-badge]: https://github.com/rehypejs/rehype-sanitize/workflows/main/badge.svg
+
+[build]: https://github.com/rehypejs/rehype-sanitize/actions
+
+[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-sanitize.svg
+
+[coverage]: https://codecov.io/github/rehypejs/rehype-sanitize
+
+[downloads-badge]: https://img.shields.io/npm/dm/rehype-sanitize.svg
+
+[downloads]: https://www.npmjs.com/package/rehype-sanitize
+
+[size-badge]: https://img.shields.io/bundlejs/size/rehype-sanitize
+
+[size]: https://bundlejs.com/?q=rehype-sanitize
+
+[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
+
+[backers-badge]: https://opencollective.com/unified/backers/badge.svg
+
+[collective]: https://opencollective.com/unified
+
+[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
+
+[chat]: https://github.com/rehypejs/rehype/discussions
+
+[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
+
+[esmsh]: https://esm.sh
+
+[npm]: https://docs.npmjs.com/cli/install
+
+[health]: https://github.com/rehypejs/.github
+
+[contributing]: https://github.com/rehypejs/.github/blob/HEAD/contributing.md
+
+[support]: https://github.com/rehypejs/.github/blob/HEAD/support.md
+
+[coc]: https://github.com/rehypejs/.github/blob/HEAD/code-of-conduct.md
+
+[license]: license
+
+[author]: https://wooorm.com
+
+[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
+
+[typescript]: https://www.typescriptlang.org
+
+[hast]: https://github.com/syntax-tree/hast
+
+[hast-util-sanitize]: https://github.com/syntax-tree/hast-util-sanitize
+
+[hast-util-sanitize-schema]: https://github.com/syntax-tree/hast-util-sanitize#schema
+
+[rehype]: https://github.com/rehypejs/rehype
+
+[rehype-katex]: https://github.com/remarkjs/remark-math/tree/main/packages/rehype-katex
+
+[rehype-mathjax]: https://github.com/remarkjs/remark-math/tree/main/packages/rehype-mathjax
+
+[rehype-highlight]: https://github.com/rehypejs/rehype-highlight
+
+[unified]: https://github.com/unifiedjs/unified
+
+[unified-transformer]: https://github.com/unifiedjs/unified?tab=readme-ov-file#transformer
+
+[api-default-schema]: #defaultschema
+
+[api-options]: #options
+
+[api-rehype-sanitize]: #unifieduserehypesanitize-schema
diff --git a/node_modules/remark-breaks/index.d.ts b/node_modules/remark-breaks/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..bc0a95d5247ec176397532b3cdba4bc348fb71b6
--- /dev/null
+++ b/node_modules/remark-breaks/index.d.ts
@@ -0,0 +1 @@
+export { default } from "./lib/index.js";
diff --git a/node_modules/remark-breaks/index.js b/node_modules/remark-breaks/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..dab322b23af0a5d55082684f5e57b622a0646e1d
--- /dev/null
+++ b/node_modules/remark-breaks/index.js
@@ -0,0 +1 @@
+export {default} from './lib/index.js'
diff --git a/node_modules/remark-breaks/lib/index.d.ts b/node_modules/remark-breaks/lib/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..38e52151599e63e85eea8008c37577cd466045c5
--- /dev/null
+++ b/node_modules/remark-breaks/lib/index.d.ts
@@ -0,0 +1,9 @@
+/**
+ * Support hard breaks without needing spaces or escapes (turns enters into
+ * `
`s).
+ *
+ * @returns
+ * Transform.
+ */
+export default function remarkBreaks(): (tree: Root) => undefined;
+export type Root = import('mdast').Root;
diff --git a/node_modules/remark-breaks/lib/index.js b/node_modules/remark-breaks/lib/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..de2149cc16eeea31ac31481e5c09901c0eeb8632
--- /dev/null
+++ b/node_modules/remark-breaks/lib/index.js
@@ -0,0 +1,26 @@
+/**
+ * @typedef {import('mdast').Root} Root
+ */
+
+import {newlineToBreak} from 'mdast-util-newline-to-break'
+
+/**
+ * Support hard breaks without needing spaces or escapes (turns enters into
+ * `
`s).
+ *
+ * @returns
+ * Transform.
+ */
+export default function remarkBreaks() {
+ /**
+ * Transform.
+ *
+ * @param {Root} tree
+ * Tree.
+ * @returns {undefined}
+ * Nothing.
+ */
+ return function (tree) {
+ newlineToBreak(tree)
+ }
+}
diff --git a/node_modules/remark-breaks/license b/node_modules/remark-breaks/license
new file mode 100644
index 0000000000000000000000000000000000000000..045ffe0e075da471f1b04e204acce031b22d1c13
--- /dev/null
+++ b/node_modules/remark-breaks/license
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) 2017 Titus Wormer
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/remark-breaks/package.json b/node_modules/remark-breaks/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..5ecc4a015b76c8af5efc20bd82459bcc4654df12
--- /dev/null
+++ b/node_modules/remark-breaks/package.json
@@ -0,0 +1,93 @@
+{
+ "name": "remark-breaks",
+ "version": "4.0.0",
+ "description": "remark plugin to add break support, without needing spaces",
+ "license": "MIT",
+ "keywords": [
+ "break",
+ "linefeed",
+ "markdown",
+ "mdast",
+ "newline",
+ "plugin",
+ "remark",
+ "remark-plugin",
+ "unified"
+ ],
+ "repository": "remarkjs/remark-breaks",
+ "bugs": "https://github.com/remarkjs/remark-breaks/issues",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "author": "Titus Wormer (https://wooorm.com)",
+ "contributors": [
+ "Titus Wormer (https://wooorm.com)"
+ ],
+ "sideEffects": false,
+ "type": "module",
+ "exports": "./index.js",
+ "files": [
+ "lib/",
+ "index.d.ts",
+ "index.js"
+ ],
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-newline-to-break": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "devDependencies": {
+ "@types/node": "^20.0.0",
+ "c8": "^8.0.0",
+ "prettier": "^3.0.0",
+ "rehype-stringify": "^10.0.0",
+ "remark-cli": "^11.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-preset-wooorm": "^9.0.0",
+ "remark-rehype": "^11.0.0",
+ "type-coverage": "^2.0.0",
+ "typescript": "^5.0.0",
+ "xo": "^0.56.0"
+ },
+ "scripts": {
+ "build": "tsc --build --clean && tsc --build && type-coverage",
+ "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
+ "prepack": "npm run build && npm run format",
+ "test": "npm run build && npm run format && npm run test-coverage",
+ "test-api": "node --conditions development test.js",
+ "test-coverage": "c8 --100 --reporter lcov npm run test-api"
+ },
+ "prettier": {
+ "bracketSpacing": false,
+ "singleQuote": true,
+ "semi": false,
+ "tabWidth": 2,
+ "trailingComma": "none",
+ "useTabs": false
+ },
+ "remarkConfig": {
+ "plugins": [
+ "remark-preset-wooorm"
+ ]
+ },
+ "typeCoverage": {
+ "atLeast": 100,
+ "detail": true,
+ "ignoreCatch": true,
+ "strict": true
+ },
+ "xo": {
+ "overrides": [
+ {
+ "files": [
+ "test.js"
+ ],
+ "rules": {
+ "no-await-in-loop": "off"
+ }
+ }
+ ],
+ "prettier": true
+ }
+}
diff --git a/node_modules/remark-breaks/readme.md b/node_modules/remark-breaks/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..97f79a82b4c32269f414214a0ea26ac2f6a50dd2
--- /dev/null
+++ b/node_modules/remark-breaks/readme.md
@@ -0,0 +1,266 @@
+# remark-breaks
+
+[![Build][build-badge]][build]
+[![Coverage][coverage-badge]][coverage]
+[![Downloads][downloads-badge]][downloads]
+[![Size][size-badge]][size]
+[![Sponsors][sponsors-badge]][collective]
+[![Backers][backers-badge]][collective]
+[![Chat][chat-badge]][chat]
+
+**[remark][]** plugin to support hard breaks without needing spaces or escapes
+(turns enters into `
`s).
+
+## Contents
+
+* [What is this?](#what-is-this)
+* [When should I use this?](#when-should-i-use-this)
+* [Install](#install)
+* [Use](#use)
+* [API](#api)
+ * [`unified().use(remarkBreaks)`](#unifieduseremarkbreaks)
+* [Syntax](#syntax)
+* [Syntax tree](#syntax-tree)
+* [Types](#types)
+* [Compatibility](#compatibility)
+* [Security](#security)
+* [Related](#related)
+* [Contribute](#contribute)
+* [License](#license)
+
+## What is this?
+
+This package is a [unified][] ([remark][]) plugin to turn soft line endings
+(enters) into hard breaks (`
`s)
+
+## When should I use this?
+
+This plugin is useful if you want to display user content closer to how it was
+authored, because when a user includes a line ending, it’ll show as such.
+GitHub does this in a few places (comments, issues, PRs, and releases), but it’s
+not semantic according to HTML and not compliant to markdown.
+Markdown already has two ways to include hard breaks, namely trailing spaces and
+escapes (note that `␠` represents a normal space):
+
+```markdown
+lorem␠␠
+ipsum
+
+lorem\
+ipsum
+```
+
+Both will turn into `
`s.
+If you control who authors content or can document how markdown works, it’s
+recommended to use escapes instead.
+
+## Install
+
+This package is [ESM only][esm].
+In Node.js (version 16+), install with [npm][]:
+
+```sh
+npm install remark-breaks
+```
+
+In Deno with [`esm.sh`][esmsh]:
+
+```js
+import remarkBreaks from 'https://esm.sh/remark-breaks@4'
+```
+
+In browsers with [`esm.sh`][esmsh]:
+
+```html
+
+```
+
+## Use
+
+Say we have the following file `example.md` (note: there are no spaces after
+`a`):
+
+```markdown
+Mars is
+the fourth planet
+```
+
+…and a module `example.js`:
+
+```js
+import rehypeStringify from 'rehype-stringify'
+import remarkBreaks from 'remark-breaks'
+import remarkParse from 'remark-parse'
+import remarkRehype from 'remark-rehype'
+import {read} from 'to-vfile'
+import {unified} from 'unified'
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkBreaks)
+ .use(remarkRehype)
+ .use(rehypeStringify)
+ .process(await read('example.md'))
+
+console.log(String(file))
+```
+
+…then running `node example.js` yields:
+
+```html
+Mars is
+the fourth planet
+```
+
+> 👉 **Note**: Without `remark-breaks`, you’d get:
+>
+> ```html
+> Mars is
+> the fourth planet
+> ```
+
+## API
+
+This package exports no identifiers.
+The default export is [`remarkBreaks`][api-remark-breaks].
+
+### `unified().use(remarkBreaks)`
+
+Support hard breaks without needing spaces or escapes (turns enters into
+`
`s).
+
+###### Parameters
+
+There are no parameters.
+
+###### Returns
+
+Transform ([`Transformer`][unified-transformer]).
+
+## Syntax
+
+This plugin looks for markdown line endings (`\r`, `\n`, and `\r\n`) preceded
+by zero or more spaces and tabs.
+
+## Syntax tree
+
+This plugin adds mdast [`Break`][mdast-break] nodes to the syntax tree.
+These are the same nodes that represent breaks with spaces or escapes.
+
+## Types
+
+This package is fully typed with [TypeScript][].
+It exports no additional types.
+
+## Compatibility
+
+Projects maintained by the unified collective are compatible with maintained
+versions of Node.js.
+
+When we cut a new major release, we drop support for unmaintained versions of
+Node.
+This means we try to keep the current release line, `remark-breaks@^4`,
+compatible with Node.js 16.
+
+This plugin works with `unified` version 6+ and `remark` version 7+.
+
+## Security
+
+Use of `remark-breaks` does not involve **[rehype][]** (**[hast][]**) or user
+content so there are no openings for [cross-site scripting (XSS)][wiki-xss]
+attacks.
+
+## Related
+
+* [`remark-gfm`](https://github.com/remarkjs/remark-gfm)
+ — support GFM (autolink literals, footnotes, strikethrough, tables,
+ tasklists)
+* [`remark-github`](https://github.com/remarkjs/remark-github)
+ — link references to commits, issues, and users, in the same way that
+ GitHub does
+* [`remark-directive`](https://github.com/remarkjs/remark-directive)
+ — support directives
+* [`remark-frontmatter`](https://github.com/remarkjs/remark-frontmatter)
+ — support frontmatter (YAML, TOML, and more)
+* [`remark-math`](https://github.com/remarkjs/remark-math)
+ — support math
+
+## Contribute
+
+See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
+to get started.
+See [`support.md`][support] for ways to get help.
+
+This project has a [code of conduct][coc].
+By interacting with this repository, organization, or community you agree to
+abide by its terms.
+
+## License
+
+[MIT][license] © [Titus Wormer][author]
+
+
+
+[build-badge]: https://github.com/remarkjs/remark-breaks/workflows/main/badge.svg
+
+[build]: https://github.com/remarkjs/remark-breaks/actions
+
+[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark-breaks.svg
+
+[coverage]: https://codecov.io/github/remarkjs/remark-breaks
+
+[downloads-badge]: https://img.shields.io/npm/dm/remark-breaks.svg
+
+[downloads]: https://www.npmjs.com/package/remark-breaks
+
+[size-badge]: https://img.shields.io/bundlejs/size/remark-breaks
+
+[size]: https://bundlejs.com/?q=remark-breaks
+
+[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
+
+[backers-badge]: https://opencollective.com/unified/backers/badge.svg
+
+[collective]: https://opencollective.com/unified
+
+[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
+
+[chat]: https://github.com/remarkjs/remark/discussions
+
+[npm]: https://docs.npmjs.com/cli/install
+
+[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
+
+[esmsh]: https://esm.sh
+
+[health]: https://github.com/remarkjs/.github
+
+[contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md
+
+[support]: https://github.com/remarkjs/.github/blob/main/support.md
+
+[coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md
+
+[license]: license
+
+[author]: https://wooorm.com
+
+[hast]: https://github.com/syntax-tree/hast
+
+[mdast-break]: https://github.com/syntax-tree/mdast#break
+
+[rehype]: https://github.com/rehypejs/rehype
+
+[remark]: https://github.com/remarkjs/remark
+
+[typescript]: https://www.typescriptlang.org
+
+[unified]: https://github.com/unifiedjs/unified
+
+[unified-transformer]: https://github.com/unifiedjs/unified#transformer
+
+[wiki-xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
+
+[api-remark-breaks]: #unifieduseremarkbreaks
diff --git a/node_modules/remark-gfm/index.d.ts b/node_modules/remark-gfm/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..094e9ae9379f52d82d0e80436eae6ad1b2bfdd9a
--- /dev/null
+++ b/node_modules/remark-gfm/index.d.ts
@@ -0,0 +1,13 @@
+import type {Options as MicromarkOptions} from 'micromark-extension-gfm'
+import type {Options as MdastOptions} from 'mdast-util-gfm'
+
+export {default} from './lib/index.js'
+
+/**
+ * Configuration for `remark-gfm`.
+ *
+ * Currently supports `singleTilde` as a parse option and
+ * `firstLineBlank`, `stringLength`, `tableCellPadding`, and `tablePipeAlign`
+ * as serialization options.
+ */
+export interface Options extends MicromarkOptions, MdastOptions {}
diff --git a/node_modules/remark-gfm/index.js b/node_modules/remark-gfm/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..6a4c25d60f746eac9b80f56076fa90be149881a2
--- /dev/null
+++ b/node_modules/remark-gfm/index.js
@@ -0,0 +1,2 @@
+// Note: types exposed from `index.d.ts`.
+export {default} from './lib/index.js'
diff --git a/node_modules/remark-gfm/lib/index.d.ts b/node_modules/remark-gfm/lib/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..a78b76b66d36ea295f5eed44d8b2eac4f359ef60
--- /dev/null
+++ b/node_modules/remark-gfm/lib/index.d.ts
@@ -0,0 +1,12 @@
+/**
+ * Add support GFM (autolink literals, footnotes, strikethrough, tables,
+ * tasklists).
+ *
+ * @param {Options | null | undefined} [options]
+ * Configuration (optional).
+ * @returns {undefined}
+ * Nothing.
+ */
+export default function remarkGfm(options?: Options | null | undefined): undefined;
+import type { Options } from 'remark-gfm';
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/node_modules/remark-gfm/lib/index.d.ts.map b/node_modules/remark-gfm/lib/index.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..d5c64fb562b1a0114c5416fd28db58b9b44a3a1b
--- /dev/null
+++ b/node_modules/remark-gfm/lib/index.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAcA;;;;;;;;GAQG;AACH,4CALW,OAAO,GAAG,IAAI,GAAG,SAAS,GAExB,SAAS,CAoBrB;6BAtCyB,YAAY"}
\ No newline at end of file
diff --git a/node_modules/remark-gfm/lib/index.js b/node_modules/remark-gfm/lib/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..ee1cca2459792a0ae24518470163f6244f23a06a
--- /dev/null
+++ b/node_modules/remark-gfm/lib/index.js
@@ -0,0 +1,41 @@
+/**
+ * @import {Root} from 'mdast'
+ * @import {Options} from 'remark-gfm'
+ * @import {} from 'remark-parse'
+ * @import {} from 'remark-stringify'
+ * @import {Processor} from 'unified'
+ */
+
+import {gfmFromMarkdown, gfmToMarkdown} from 'mdast-util-gfm'
+import {gfm} from 'micromark-extension-gfm'
+
+/** @type {Options} */
+const emptyOptions = {}
+
+/**
+ * Add support GFM (autolink literals, footnotes, strikethrough, tables,
+ * tasklists).
+ *
+ * @param {Options | null | undefined} [options]
+ * Configuration (optional).
+ * @returns {undefined}
+ * Nothing.
+ */
+export default function remarkGfm(options) {
+ // @ts-expect-error: TS is wrong about `this`.
+ // eslint-disable-next-line unicorn/no-this-assignment
+ const self = /** @type {Processor} */ (this)
+ const settings = options || emptyOptions
+ const data = self.data()
+
+ const micromarkExtensions =
+ data.micromarkExtensions || (data.micromarkExtensions = [])
+ const fromMarkdownExtensions =
+ data.fromMarkdownExtensions || (data.fromMarkdownExtensions = [])
+ const toMarkdownExtensions =
+ data.toMarkdownExtensions || (data.toMarkdownExtensions = [])
+
+ micromarkExtensions.push(gfm(settings))
+ fromMarkdownExtensions.push(gfmFromMarkdown())
+ toMarkdownExtensions.push(gfmToMarkdown(settings))
+}
diff --git a/node_modules/remark-gfm/license b/node_modules/remark-gfm/license
new file mode 100644
index 0000000000000000000000000000000000000000..bc8f165a62768a19de38901d81ac662c51ff29db
--- /dev/null
+++ b/node_modules/remark-gfm/license
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) Titus Wormer
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/remark-gfm/package.json b/node_modules/remark-gfm/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..bb536e513cabd67ecfda24294b91f098df07ed81
--- /dev/null
+++ b/node_modules/remark-gfm/package.json
@@ -0,0 +1,125 @@
+{
+ "author": "Titus Wormer (https://wooorm.com)",
+ "bugs": "https://github.com/remarkjs/remark-gfm/issues",
+ "contributors": [
+ "Titus Wormer (https://wooorm.com)"
+ ],
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-gfm": "^3.0.0",
+ "micromark-extension-gfm": "^3.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-stringify": "^11.0.0",
+ "unified": "^11.0.0"
+ },
+ "description": "remark plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists)",
+ "devDependencies": {
+ "@types/node": "^22.0.0",
+ "c8": "^10.0.0",
+ "is-hidden": "^2.0.0",
+ "prettier": "^3.0.0",
+ "remark": "^15.0.0",
+ "remark-cli": "^12.0.0",
+ "remark-preset-wooorm": "^11.0.0",
+ "string-width": "^6.0.0",
+ "to-vfile": "^8.0.0",
+ "type-coverage": "^2.0.0",
+ "typescript": "^5.0.0",
+ "xo": "^0.60.0"
+ },
+ "exports": "./index.js",
+ "files": [
+ "index.d.ts",
+ "index.js",
+ "lib/"
+ ],
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "keywords": [
+ "autolink",
+ "footnote",
+ "gfm",
+ "github",
+ "markdown",
+ "mdast",
+ "plugin",
+ "remark",
+ "remark-plugin",
+ "strikethrough",
+ "table",
+ "tasklist",
+ "unified"
+ ],
+ "license": "MIT",
+ "name": "remark-gfm",
+ "prettier": {
+ "bracketSpacing": false,
+ "singleQuote": true,
+ "semi": false,
+ "tabWidth": 2,
+ "trailingComma": "none",
+ "useTabs": false
+ },
+ "remarkConfig": {
+ "plugins": [
+ "remark-preset-wooorm"
+ ]
+ },
+ "repository": "remarkjs/remark-gfm",
+ "scripts": {
+ "build": "tsc --build --clean && tsc --build && type-coverage",
+ "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
+ "prepack": "npm run build && npm run format",
+ "test": "npm run build && npm run format && npm run test-coverage",
+ "test-api": "node --conditions development test/index.js",
+ "test-coverage": "c8 --100 --reporter lcov npm run test-api"
+ },
+ "sideEffects": false,
+ "typeCoverage": {
+ "atLeast": 100,
+ "strict": true
+ },
+ "type": "module",
+ "version": "4.0.1",
+ "xo": {
+ "overrides": [
+ {
+ "files": [
+ "**/*.d.ts"
+ ],
+ "rules": {
+ "@typescript-eslint/array-type": [
+ "error",
+ {
+ "default": "generic"
+ }
+ ],
+ "@typescript-eslint/ban-types": [
+ "error",
+ {
+ "extendDefaults": true
+ }
+ ],
+ "@typescript-eslint/consistent-type-definitions": [
+ "error",
+ "interface"
+ ]
+ }
+ },
+ {
+ "files": [
+ "test/**/*.js"
+ ],
+ "rules": {
+ "no-await-in-loop": "off"
+ }
+ }
+ ],
+ "prettier": true,
+ "rules": {
+ "logical-assignment-operators": "off"
+ }
+ }
+}
diff --git a/node_modules/remark-gfm/readme.md b/node_modules/remark-gfm/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..98ca7de7fad0c58dc071136a22c3b2272616b825
--- /dev/null
+++ b/node_modules/remark-gfm/readme.md
@@ -0,0 +1,518 @@
+# remark-gfm
+
+[![Build][build-badge]][build]
+[![Coverage][coverage-badge]][coverage]
+[![Downloads][downloads-badge]][downloads]
+[![Size][size-badge]][size]
+[![Sponsors][sponsors-badge]][collective]
+[![Backers][backers-badge]][collective]
+[![Chat][chat-badge]][chat]
+
+**[remark][]** plugin to support [GFM][] (autolink literals, footnotes,
+strikethrough, tables, tasklists).
+
+## Contents
+
+* [What is this?](#what-is-this)
+* [When should I use this?](#when-should-i-use-this)
+* [Install](#install)
+* [Use](#use)
+* [API](#api)
+ * [`unified().use(remarkGfm[, options])`](#unifieduseremarkgfm-options)
+ * [`Options`](#options)
+* [Examples](#examples)
+ * [Example: `singleTilde`](#example-singletilde)
+ * [Example: `stringLength`](#example-stringlength)
+* [Bugs](#bugs)
+* [Authoring](#authoring)
+* [HTML](#html)
+* [CSS](#css)
+* [Syntax](#syntax)
+* [Syntax tree](#syntax-tree)
+* [Types](#types)
+* [Compatibility](#compatibility)
+* [Security](#security)
+* [Related](#related)
+* [Contribute](#contribute)
+* [License](#license)
+
+## What is this?
+
+This package is a [unified][] ([remark][]) plugin to enable the extensions to
+markdown that GitHub adds with GFM: autolink literals (`www.x.com`), footnotes
+(`[^1]`), strikethrough (`~~stuff~~`), tables (`| cell |…`), and tasklists
+(`* [x]`).
+You can use this plugin to add support for parsing and serializing them.
+These extensions by GitHub to CommonMark are called [GFM][] (GitHub Flavored
+Markdown).
+
+This plugin does not handle how markdown is turned to HTML.
+That’s done by [`remark-rehype`][remark-rehype].
+If your content is not in English and uses footnotes, you should configure that
+plugin.
+When generating HTML, you might also want to enable [`rehype-slug`][rehype-slug]
+to add `id`s on headings.
+
+A different plugin, [`remark-frontmatter`][remark-frontmatter], adds support for
+frontmatter.
+GitHub supports YAML frontmatter for files in repos and Gists but they don’t
+treat it as part of GFM.
+
+Another plugin, [`remark-github`][remark-github], adds support for how markdown
+works in relation to a certain GitHub repo in comments, issues, PRs, and
+releases, by linking references to commits, issues, and users.
+
+Yet another plugin, [`remark-breaks`][remark-breaks], turns soft line endings
+(enters) into hard breaks (`
`s).
+GitHub does this in a few places (comments, issues, PRs, and releases).
+
+## When should I use this?
+
+This project is useful when you want to support the same features that GitHub
+does in files in a repo, Gists, and several other places.
+Users frequently believe that some of these extensions, specifically autolink
+literals and tables, are part of normal markdown, so using `remark-gfm` will
+help match your implementation to their understanding of markdown.
+There are several edge cases where GitHub’s implementation works in unexpected
+ways or even different than described in their spec, so *writing* in GFM is not
+always the best choice.
+
+If you *just* want to turn markdown into HTML (with maybe a few extensions such
+as GFM), we recommend [`micromark`][micromark] with
+[`micromark-extension-gfm`][micromark-extension-gfm] instead.
+If you don’t use plugins and want to access the syntax tree, you can use
+[`mdast-util-from-markdown`][mdast-util-from-markdown] with
+[`mdast-util-gfm`][mdast-util-gfm].
+
+## Install
+
+This package is [ESM only][esm].
+In Node.js (version 16+), install with [npm][]:
+
+```sh
+npm install remark-gfm
+```
+
+In Deno with [`esm.sh`][esmsh]:
+
+```js
+import remarkGfm from 'https://esm.sh/remark-gfm@4'
+```
+
+In browsers with [`esm.sh`][esmsh]:
+
+```html
+
+```
+
+## Use
+
+Say our document `example.md` contains:
+
+```markdown
+# GFM
+
+## Autolink literals
+
+www.example.com, https://example.com, and contact@example.com.
+
+## Footnote
+
+A note[^1]
+
+[^1]: Big note.
+
+## Strikethrough
+
+~one~ or ~~two~~ tildes.
+
+## Table
+
+| a | b | c | d |
+| - | :- | -: | :-: |
+
+## Tasklist
+
+* [ ] to do
+* [x] done
+```
+
+…and our module `example.js` contains:
+
+```js
+import rehypeStringify from 'rehype-stringify'
+import remarkGfm from 'remark-gfm'
+import remarkParse from 'remark-parse'
+import remarkRehype from 'remark-rehype'
+import {read} from 'to-vfile'
+import {unified} from 'unified'
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkGfm)
+ .use(remarkRehype)
+ .use(rehypeStringify)
+ .process(await read('example.md'))
+
+console.log(String(file))
+```
+
+…then running `node example.js` yields:
+
+```html
+GFM
+Autolink literals
+www.example.com, https://example.com, and contact@example.com.
+Footnote
+A note1
+Strikethrough
+one or two tildes.
+Table
+
+Tasklist
+
+
+```
+
+## API
+
+This package exports no identifiers.
+The default export is [`remarkGfm`][api-remark-gfm].
+
+### `unified().use(remarkGfm[, options])`
+
+Add support GFM (autolink literals, footnotes, strikethrough, tables,
+tasklists).
+
+###### Parameters
+
+* `options` ([`Options`][api-options], optional)
+ — configuration
+
+###### Returns
+
+Nothing (`undefined`).
+
+### `Options`
+
+Configuration (TypeScript type).
+
+###### Fields
+
+* `firstLineBlank` (`boolean`, default: `false`)
+ — serialize with a blank line for the first line of footnote definitions
+* `stringLength` (`((value: string) => number)`, default: `d => d.length`)
+ — detect the size of table cells, used when aligning cells
+* `singleTilde` (`boolean`, default: `true`)
+ — whether to support strikethrough with a single tilde;
+ single tildes work on github.com, but are technically prohibited by GFM;
+ you can always use 2 or more tildes for strikethrough
+* `tablePipeAlign` (`boolean`, default: `true`)
+ — whether to align table pipes
+* `tableCellPadding` (`boolean`, default: `true`)
+ — whether to add a space of padding between table pipes and cells
+
+## Examples
+
+### Example: `singleTilde`
+
+To turn off support for parsing strikethrough with single tildes, pass
+`singleTilde: false`:
+
+```js
+// …
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkGfm, {singleTilde: false})
+ .use(remarkRehype)
+ .use(rehypeStringify)
+ .process('~one~ and ~~two~~')
+
+console.log(String(file))
+```
+
+Yields:
+
+```html
+~one~ and two
+```
+
+### Example: `stringLength`
+
+It’s possible to align tables based on the visual width of cells.
+First, let’s show the problem:
+
+```js
+import {remark} from 'remark'
+import remarkGfm from 'remark-gfm'
+
+const input = `| Alpha | Bravo |
+| - | - |
+| 中文 | Charlie |
+| 👩❤️👩 | Delta |`
+
+const file = await remark().use(remarkGfm).process(input)
+
+console.log(String(file))
+```
+
+The above code shows how remark can be used to format markdown.
+The output is as follows:
+
+```markdown
+| Alpha | Bravo |
+| -------- | ------- |
+| 中文 | Charlie |
+| 👩❤️👩 | Delta |
+```
+
+To improve the alignment of these full-width characters and emoji, pass a
+`stringLength` function that calculates the visual width of cells.
+One such algorithm is [`string-width`][string-width].
+It can be used like so:
+
+```diff
+@@ -1,5 +1,6 @@
+ import {remark} from 'remark'
+ import remarkGfm from 'remark-gfm'
++import stringWidth from 'string-width'
+
+@@ -10,7 +11,7 @@ async function main() {
+ | 👩❤️👩 | Delta |`
+
+-const file = await remark().use(remarkGfm).process(input)
++const file = await remark()
++ .use(remarkGfm, {stringLength: stringWidth})
++ .process(input)
+
+ console.log(String(file))
+```
+
+The output of our code with these changes is as follows:
+
+```markdown
+| Alpha | Bravo |
+| ----- | ------- |
+| 中文 | Charlie |
+| 👩❤️👩 | Delta |
+```
+
+## Bugs
+
+For bugs present in GFM but not here, or other peculiarities that are
+supported, see each corresponding readme:
+
+* [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#bugs)
+* [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#bugs)
+* strikethrough: n/a
+* [table](https://github.com/micromark/micromark-extension-gfm-table#bugs)
+* tasklists: n/a
+
+## Authoring
+
+For recommendations on how to author GFM, see each corresponding readme:
+
+* [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#authoring)
+* [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#authoring)
+* [strikethrough](https://github.com/micromark/micromark-extension-gfm-strikethrough#authoring)
+* [table](https://github.com/micromark/micromark-extension-gfm-table#authoring)
+* [tasklists](https://github.com/micromark/micromark-extension-gfm-task-list-item#authoring)
+
+## HTML
+
+This plugin does not handle how markdown is turned to HTML.
+See [`remark-rehype`][remark-rehype] for how that happens and how to change it.
+
+## CSS
+
+For info on how GitHub styles these features, see each corresponding readme:
+
+* [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#css)
+* [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#css)
+* [strikethrough](https://github.com/micromark/micromark-extension-gfm-strikethrough#css)
+* [table](https://github.com/micromark/micromark-extension-gfm-table#css)
+* [tasklists](https://github.com/micromark/micromark-extension-gfm-task-list-item#css)
+
+## Syntax
+
+For info on the syntax of these features, see each corresponding readme:
+
+* [autolink literal](https://github.com/micromark/micromark-extension-gfm-autolink-literal#syntax)
+* [footnote](https://github.com/micromark/micromark-extension-gfm-footnote#syntax)
+* [strikethrough](https://github.com/micromark/micromark-extension-gfm-strikethrough#syntax)
+* [table](https://github.com/micromark/micromark-extension-gfm-table#syntax)
+* [tasklists](https://github.com/micromark/micromark-extension-gfm-task-list-item#syntax)
+
+## Syntax tree
+
+For info on the syntax tree of these features, see each corresponding readme:
+
+* [autolink literal](https://github.com/syntax-tree/mdast-util-gfm-autolink-literal#syntax-tree)
+* [footnote](https://github.com/syntax-tree/mdast-util-gfm-footnote#syntax-tree)
+* [strikethrough](https://github.com/syntax-tree/mdast-util-gfm-strikethrough#syntax-tree)
+* [table](https://github.com/syntax-tree/mdast-util-gfm-table#syntax-tree)
+* [tasklists](https://github.com/syntax-tree/mdast-util-gfm-task-list-item#syntax-tree)
+
+## Types
+
+This package is fully typed with [TypeScript][].
+It exports the additional type [`Options`][api-options].
+
+The node types are supported in `@types/mdast` by default.
+
+## Compatibility
+
+Projects maintained by the unified collective are compatible with maintained
+versions of Node.js.
+
+When we cut a new major release, we drop support for unmaintained versions of
+Node.
+This means we try to keep the current release line, `remark-gfm@^4`, compatible
+with Node.js 16.
+
+This plugin works with `remark-parse` version 11+ (`remark` version 15+).
+The previous version (v3) worked with `remark-parse` version 10 (`remark`
+version 14).
+Before that, v2 worked with `remark-parse` version 9 (`remark` version 13).
+Earlier versions of `remark-parse` and `remark` had a `gfm` option that enabled
+this functionality, which defaulted to true.
+
+## Security
+
+Use of `remark-gfm` does not involve **[rehype][]** ([hast][]) or user
+content so there are no openings for [cross-site scripting (XSS)][wiki-xss]
+attacks.
+
+## Related
+
+* [`remark-github`][remark-github]
+ — link references to commits, issues, PRs, and users
+* [`remark-breaks`][remark-breaks]
+ — support breaks without needing spaces or escapes (enters to `
`)
+* [`remark-frontmatter`][remark-frontmatter]
+ — support frontmatter (YAML, TOML, and more)
+* [`remark-directive`](https://github.com/remarkjs/remark-directive)
+ — support directives
+* [`remark-math`](https://github.com/remarkjs/remark-math)
+ — support math
+* [`remark-mdx`](https://github.com/mdx-js/mdx/tree/main/packages/remark-mdx)
+ — support MDX (ESM, JSX, expressions)
+
+## Contribute
+
+See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
+to get started.
+See [`support.md`][support] for ways to get help.
+
+This project has a [code of conduct][coc].
+By interacting with this repository, organization, or community you agree to
+abide by its terms.
+
+## License
+
+[MIT][license] © [Titus Wormer][author]
+
+
+
+[api-options]: #options
+
+[api-remark-gfm]: #unifieduseremarkgfm-options
+
+[author]: https://wooorm.com
+
+[backers-badge]: https://opencollective.com/unified/backers/badge.svg
+
+[build]: https://github.com/remarkjs/remark-gfm/actions
+
+[build-badge]: https://github.com/remarkjs/remark-gfm/workflows/main/badge.svg
+
+[chat]: https://github.com/remarkjs/remark/discussions
+
+[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
+
+[coc]: https://github.com/remarkjs/.github/blob/HEAD/code-of-conduct.md
+
+[collective]: https://opencollective.com/unified
+
+[contributing]: https://github.com/remarkjs/.github/blob/HEAD/contributing.md
+
+[coverage]: https://codecov.io/github/remarkjs/remark-gfm
+
+[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark-gfm.svg
+
+[downloads]: https://www.npmjs.com/package/remark-gfm
+
+[downloads-badge]: https://img.shields.io/npm/dm/remark-gfm.svg
+
+[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
+
+[esmsh]: https://esm.sh
+
+[gfm]: https://github.github.com/gfm/
+
+[hast]: https://github.com/syntax-tree/hast
+
+[health]: https://github.com/remarkjs/.github
+
+[license]: license
+
+[mdast-util-from-markdown]: https://github.com/syntax-tree/mdast-util-from-markdown
+
+[mdast-util-gfm]: https://github.com/syntax-tree/mdast-util-gfm
+
+[micromark]: https://github.com/micromark/micromark
+
+[micromark-extension-gfm]: https://github.com/micromark/micromark-extension-gfm
+
+[npm]: https://docs.npmjs.com/cli/install
+
+[rehype]: https://github.com/rehypejs/rehype
+
+[rehype-slug]: https://github.com/rehypejs/rehype-slug
+
+[remark]: https://github.com/remarkjs/remark
+
+[remark-breaks]: https://github.com/remarkjs/remark-breaks
+
+[remark-frontmatter]: https://github.com/remarkjs/remark-frontmatter
+
+[remark-github]: https://github.com/remarkjs/remark-github
+
+[remark-rehype]: https://github.com/remarkjs/remark-rehype
+
+[size]: https://bundlejs.com/?q=remark-gfm
+
+[size-badge]: https://img.shields.io/bundlejs/size/remark-gfm
+
+[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
+
+[string-width]: https://github.com/sindresorhus/string-width
+
+[support]: https://github.com/remarkjs/.github/blob/HEAD/support.md
+
+[typescript]: https://www.typescriptlang.org
+
+[unified]: https://github.com/unifiedjs/unified
+
+[wiki-xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
diff --git a/node_modules/remark-parse/index.d.ts b/node_modules/remark-parse/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..c74ec6563cef8a0eef2ea1ab2d9fc8a3f8ab5b5f
--- /dev/null
+++ b/node_modules/remark-parse/index.d.ts
@@ -0,0 +1,55 @@
+import type {Root} from 'mdast'
+import type {Extension as FromMarkdownExtension} from 'mdast-util-from-markdown'
+import type {Extension as MicromarkExtension} from 'micromark-util-types'
+import type {Plugin} from 'unified'
+import type {Options} from './lib/index.js'
+
+export type {Options} from './lib/index.js'
+
+/**
+ * Add support for parsing from markdown.
+ *
+ * @this
+ * Unified processor.
+ * @param
+ * Configuration (optional).
+ * @returns
+ * Nothing.
+ */
+declare const remarkParse: Plugin<
+ [(Readonly | null | undefined)?],
+ string,
+ Root
+>
+export default remarkParse
+
+// Add custom settings supported when `remark-parse` is added.
+declare module 'unified' {
+ interface Settings extends Options {}
+
+ interface Data {
+ /**
+ * List of `micromark` extensions to use.
+ *
+ * This type is registered by `remark-parse`.
+ * Values can be registered by remark plugins that extend `micromark` and
+ * `mdast-util-from-markdown`.
+ * See {@link MicromarkExtension | `Extension`} from
+ * {@link https://github.com/micromark/micromark/tree/main/packages/micromark-util-types | `micromark-util-types`}.
+ */
+ micromarkExtensions?: MicromarkExtension[]
+
+ /**
+ * List of `mdast-util-from-markdown` extensions to use.
+ *
+ * This type is registered by `remark-parse`.
+ * Values can be registered by remark plugins that extend `micromark` and
+ * `mdast-util-from-markdown`.
+ * See {@link FromMarkdownExtension | `Extension`} from
+ * {@link https://github.com/syntax-tree/mdast-util-from-markdown#extension | `mdast-util-from-markdown`}.
+ */
+ fromMarkdownExtensions?: Array<
+ FromMarkdownExtension[] | FromMarkdownExtension
+ >
+ }
+}
diff --git a/node_modules/remark-parse/index.js b/node_modules/remark-parse/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..6a4c25d60f746eac9b80f56076fa90be149881a2
--- /dev/null
+++ b/node_modules/remark-parse/index.js
@@ -0,0 +1,2 @@
+// Note: types exposed from `index.d.ts`.
+export {default} from './lib/index.js'
diff --git a/node_modules/remark-parse/lib/index.d.ts b/node_modules/remark-parse/lib/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..c63d18f01743e81a99da48b3aea154c21ee900a8
--- /dev/null
+++ b/node_modules/remark-parse/lib/index.d.ts
@@ -0,0 +1,26 @@
+/**
+ * Aadd support for parsing from markdown.
+ *
+ * @param {Readonly | null | undefined} [options]
+ * Configuration (optional).
+ * @returns {undefined}
+ * Nothing.
+ */
+export default function remarkParse(options?: Readonly | null | undefined): undefined;
+export default class remarkParse {
+ /**
+ * Aadd support for parsing from markdown.
+ *
+ * @param {Readonly | null | undefined} [options]
+ * Configuration (optional).
+ * @returns {undefined}
+ * Nothing.
+ */
+ constructor(options?: Readonly | null | undefined);
+ parser: (document: string, file: import("vfile").VFile) => import("mdast").Root;
+}
+export type Root = import('mdast').Root;
+export type FromMarkdownOptions = import('mdast-util-from-markdown').Options;
+export type Parser = import('unified').Parser;
+export type Processor = import('unified').Processor;
+export type Options = Omit;
diff --git a/node_modules/remark-parse/lib/index.js b/node_modules/remark-parse/lib/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..f4edbf33c9207074c8c838232c52f1b43fcf3733
--- /dev/null
+++ b/node_modules/remark-parse/lib/index.js
@@ -0,0 +1,43 @@
+/**
+ * @typedef {import('mdast').Root} Root
+ * @typedef {import('mdast-util-from-markdown').Options} FromMarkdownOptions
+ * @typedef {import('unified').Parser} Parser
+ * @typedef {import('unified').Processor} Processor
+ */
+
+/**
+ * @typedef {Omit} Options
+ */
+
+import {fromMarkdown} from 'mdast-util-from-markdown'
+
+/**
+ * Aadd support for parsing from markdown.
+ *
+ * @param {Readonly | null | undefined} [options]
+ * Configuration (optional).
+ * @returns {undefined}
+ * Nothing.
+ */
+export default function remarkParse(options) {
+ /** @type {Processor} */
+ // @ts-expect-error: TS in JSDoc generates wrong types if `this` is typed regularly.
+ const self = this
+
+ self.parser = parser
+
+ /**
+ * @type {Parser}
+ */
+ function parser(doc) {
+ return fromMarkdown(doc, {
+ ...self.data('settings'),
+ ...options,
+ // Note: these options are not in the readme.
+ // The goal is for them to be set by plugins on `data` instead of being
+ // passed by users.
+ extensions: self.data('micromarkExtensions') || [],
+ mdastExtensions: self.data('fromMarkdownExtensions') || []
+ })
+ }
+}
diff --git a/node_modules/remark-parse/license b/node_modules/remark-parse/license
new file mode 100644
index 0000000000000000000000000000000000000000..51b543068c8c0ddf05a0c35563fcfff5f6c16f8e
--- /dev/null
+++ b/node_modules/remark-parse/license
@@ -0,0 +1,21 @@
+(The MIT License)
+
+Copyright (c) 2014 Titus Wormer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/node_modules/remark-parse/package.json b/node_modules/remark-parse/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..8383b21b8271a149fa95c5b75f4198d863e9db6f
--- /dev/null
+++ b/node_modules/remark-parse/package.json
@@ -0,0 +1,72 @@
+{
+ "name": "remark-parse",
+ "version": "11.0.0",
+ "description": "remark plugin to add support for parsing markdown input",
+ "license": "MIT",
+ "keywords": [
+ "abstract",
+ "ast",
+ "markdown",
+ "mdast",
+ "parse",
+ "plugin",
+ "remark",
+ "remark-plugin",
+ "syntax",
+ "tree",
+ "unified"
+ ],
+ "homepage": "https://remark.js.org",
+ "repository": "https://github.com/remarkjs/remark/tree/main/packages/remark-parse",
+ "bugs": "https://github.com/remarkjs/remark/issues",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "author": "Titus Wormer (https://wooorm.com)",
+ "contributors": [
+ "Titus Wormer (https://wooorm.com)",
+ "Eugene Sharygin ",
+ "Junyoung Choi ",
+ "Elijah Hamovitz ",
+ "Ika "
+ ],
+ "sideEffects": false,
+ "type": "module",
+ "exports": "./index.js",
+ "files": [
+ "lib/",
+ "index.d.ts",
+ "index.js"
+ ],
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "scripts": {},
+ "typeCoverage": {
+ "atLeast": 100,
+ "detail": true,
+ "ignoreCatch": true,
+ "strict": true
+ },
+ "xo": {
+ "overrides": [
+ {
+ "files": [
+ "**/*.ts"
+ ],
+ "rules": {
+ "@typescript-eslint/ban-types": "off",
+ "@typescript-eslint/consistent-type-definitions": "off"
+ }
+ }
+ ],
+ "prettier": true,
+ "rules": {
+ "unicorn/no-this-assignment": "off"
+ }
+ }
+}
diff --git a/node_modules/remark-parse/readme.md b/node_modules/remark-parse/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..b0977ab5763064b8bb22c1e91d47b169bbb5b410
--- /dev/null
+++ b/node_modules/remark-parse/readme.md
@@ -0,0 +1,428 @@
+# remark-parse
+
+[![Build][build-badge]][build]
+[![Coverage][coverage-badge]][coverage]
+[![Downloads][downloads-badge]][downloads]
+[![Size][size-badge]][size]
+[![Sponsors][sponsors-badge]][collective]
+[![Backers][backers-badge]][collective]
+[![Chat][chat-badge]][chat]
+
+**[remark][]** plugin to add support for parsing from markdown.
+
+## Contents
+
+* [What is this?](#what-is-this)
+* [When should I use this?](#when-should-i-use-this)
+* [Install](#install)
+* [Use](#use)
+* [API](#api)
+ * [`unified().use(remarkParse)`](#unifieduseremarkparse)
+* [Examples](#examples)
+ * [Example: support GFM and frontmatter](#example-support-gfm-and-frontmatter)
+ * [Example: turning markdown into a man page](#example-turning-markdown-into-a-man-page)
+* [Syntax](#syntax)
+* [Syntax tree](#syntax-tree)
+* [Types](#types)
+* [Compatibility](#compatibility)
+* [Security](#security)
+* [Contribute](#contribute)
+* [Sponsor](#sponsor)
+* [License](#license)
+
+## What is this?
+
+This package is a [unified][] ([remark][]) plugin that defines how to take
+markdown as input and turn it into a syntax tree.
+
+See [the monorepo readme][remark] for info on what the remark ecosystem is.
+
+## When should I use this?
+
+This plugin adds support to unified for parsing markdown.
+If you also need to serialize markdown, you can alternatively use
+[`remark`][remark-core], which combines unified, this plugin, and
+[`remark-stringify`][remark-stringify].
+
+If you *just* want to turn markdown into HTML (with maybe a few extensions),
+we recommend [`micromark`][micromark] instead.
+If you don’t use plugins and want to access the syntax tree, you can directly
+use [`mdast-util-from-markdown`][mdast-util-from-markdown].
+remark focusses on making it easier to transform content by abstracting these
+internals away.
+
+You can combine this plugin with other plugins to add syntax extensions.
+Notable examples that deeply integrate with it are
+[`remark-gfm`][remark-gfm],
+[`remark-mdx`][remark-mdx],
+[`remark-frontmatter`][remark-frontmatter],
+[`remark-math`][remark-math], and
+[`remark-directive`][remark-directive].
+You can also use any other [remark plugin][remark-plugin] after `remark-parse`.
+
+## Install
+
+This package is [ESM only][esm].
+In Node.js (version 16+), install with [npm][]:
+
+```sh
+npm install remark-parse
+```
+
+In Deno with [`esm.sh`][esmsh]:
+
+```js
+import remarkParse from 'https://esm.sh/remark-parse@11'
+```
+
+In browsers with [`esm.sh`][esmsh]:
+
+```html
+
+```
+
+## Use
+
+Say we have the following module `example.js`:
+
+```js
+import rehypeStringify from 'rehype-stringify'
+import remarkGfm from 'remark-gfm'
+import remarkParse from 'remark-parse'
+import remarkRehype from 'remark-rehype'
+import {unified} from 'unified'
+
+const doc = `
+# Mercury
+
+**Mercury** is the first planet from the [Sun](https://en.wikipedia.org/wiki/Sun)
+and the smallest planet in the Solar System.
+`
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkGfm)
+ .use(remarkRehype)
+ .use(rehypeStringify)
+ .process(doc)
+
+console.log(String(file))
+```
+
+…then running `node example.js` yields:
+
+```html
+Mercury
+Mercury is the first planet from the Sun
+and the smallest planet in the Solar System.
+```
+
+## API
+
+This package exports no identifiers.
+The default export is [`remarkParse`][api-remark-parse].
+
+### `unified().use(remarkParse)`
+
+Add support for parsing from markdown.
+
+###### Parameters
+
+There are no parameters.
+
+###### Returns
+
+Nothing (`undefined`).
+
+## Examples
+
+### Example: support GFM and frontmatter
+
+We support CommonMark by default.
+Non-standard markdown extensions can be enabled with plugins.
+
+This example shows how to support GFM features (autolink literals,
+footnotes, strikethrough, tables, tasklists) and frontmatter (YAML):
+
+```js
+import rehypeStringify from 'rehype-stringify'
+import remarkFrontmatter from 'remark-frontmatter'
+import remarkGfm from 'remark-gfm'
+import remarkParse from 'remark-parse'
+import remarkRehype from 'remark-rehype'
+import {unified} from 'unified'
+
+const doc = `---
+layout: solar-system
+---
+
+# Hi ~~Mars~~Venus!
+`
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkFrontmatter)
+ .use(remarkGfm)
+ .use(remarkRehype)
+ .use(rehypeStringify)
+ .process(doc)
+
+console.log(String(file))
+```
+
+Yields:
+
+```html
+Hi MarsVenus!
+```
+
+### Example: turning markdown into a man page
+
+Man pages (short for manual pages) are a way to document CLIs (example: type
+`man git-log` in your terminal).
+They use an old markup format called roff.
+There’s a remark plugin, [`remark-man`][remark-man], that can serialize as
+roff.
+
+This example shows how to turn markdown into man pages by using unified with
+`remark-parse` and `remark-man`:
+
+```js
+import remarkMan from 'remark-man'
+import remarkParse from 'remark-parse'
+import {unified} from 'unified'
+
+const doc = `
+# titan(7) -- largest moon of saturn
+
+Titan is the largest moon…
+`
+
+const file = await unified().use(remarkParse).use(remarkMan).process(doc)
+
+console.log(String(file))
+```
+
+Yields:
+
+```roff
+.TH "TITAN" "7" "September 2023" "" ""
+.SH "NAME"
+\fBtitan\fR - largest moon of saturn
+.P
+Titan is the largest moon…
+```
+
+## Syntax
+
+Markdown is parsed according to CommonMark.
+Other plugins can add support for syntax extensions.
+If you’re interested in extending markdown,
+[more information is available in micromark’s readme][micromark-extend].
+
+## Syntax tree
+
+The syntax tree used in remark is [mdast][].
+
+## Types
+
+This package is fully typed with [TypeScript][].
+It exports the additional type `Options` (which is currently empty).
+
+## Compatibility
+
+Projects maintained by the unified collective are compatible with maintained
+versions of Node.js.
+
+When we cut a new major release, we drop support for unmaintained versions of
+Node.
+This means we try to keep the current release line, `remark-parse@^11`,
+compatible with Node.js 16.
+
+## Security
+
+As markdown can be turned into HTML and improper use of HTML can open you up to
+[cross-site scripting (XSS)][xss] attacks, use of remark can be unsafe.
+When going to HTML, you will combine remark with **[rehype][]**, in which case
+you should use [`rehype-sanitize`][rehype-sanitize].
+
+Use of remark plugins could also open you up to other attacks.
+Carefully assess each plugin and the risks involved in using them.
+
+For info on how to submit a report, see our [security policy][security].
+
+## Contribute
+
+See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
+to get started.
+See [`support.md`][support] for ways to get help.
+Join us in [Discussions][chat] to chat with the community and contributors.
+
+This project has a [code of conduct][coc].
+By interacting with this repository, organization, or community you agree to
+abide by its terms.
+
+## Sponsor
+
+Support this effort and give back by sponsoring on [OpenCollective][collective]!
+
+
+
+## License
+
+[MIT][license] © [Titus Wormer][author]
+
+
+
+[build-badge]: https://github.com/remarkjs/remark/workflows/main/badge.svg
+
+[build]: https://github.com/remarkjs/remark/actions
+
+[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark.svg
+
+[coverage]: https://codecov.io/github/remarkjs/remark
+
+[downloads-badge]: https://img.shields.io/npm/dm/remark-parse.svg
+
+[downloads]: https://www.npmjs.com/package/remark-parse
+
+[size-badge]: https://img.shields.io/bundlejs/size/remark-parse
+
+[size]: https://bundlejs.com/?q=remark-parse
+
+[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
+
+[backers-badge]: https://opencollective.com/unified/backers/badge.svg
+
+[collective]: https://opencollective.com/unified
+
+[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
+
+[chat]: https://github.com/remarkjs/remark/discussions
+
+[security]: https://github.com/remarkjs/.github/blob/main/security.md
+
+[health]: https://github.com/remarkjs/.github
+
+[contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md
+
+[support]: https://github.com/remarkjs/.github/blob/main/support.md
+
+[coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md
+
+[license]: https://github.com/remarkjs/remark/blob/main/license
+
+[author]: https://wooorm.com
+
+[npm]: https://docs.npmjs.com/cli/install
+
+[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
+
+[esmsh]: https://esm.sh
+
+[mdast]: https://github.com/syntax-tree/mdast
+
+[mdast-util-from-markdown]: https://github.com/syntax-tree/mdast-util-from-markdown
+
+[micromark]: https://github.com/micromark/micromark
+
+[micromark-extend]: https://github.com/micromark/micromark#extensions
+
+[rehype]: https://github.com/rehypejs/rehype
+
+[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize
+
+[remark]: https://github.com/remarkjs/remark
+
+[remark-core]: ../remark/
+
+[remark-directive]: https://github.com/remarkjs/remark-directive
+
+[remark-frontmatter]: https://github.com/remarkjs/remark-frontmatter
+
+[remark-gfm]: https://github.com/remarkjs/remark-gfm
+
+[remark-mdx]: https://github.com/mdx-js/mdx/tree/main/packages/remark-mdx
+
+[remark-man]: https://github.com/remarkjs/remark-man
+
+[remark-math]: https://github.com/remarkjs/remark-math
+
+[remark-plugin]: https://github.com/remarkjs/remark#plugin
+
+[remark-stringify]: ../remark-stringify/
+
+[typescript]: https://www.typescriptlang.org
+
+[unified]: https://github.com/unifiedjs/unified
+
+[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
+
+[api-remark-parse]: #unifieduseremarkparse
diff --git a/node_modules/remark-rehype/index.d.ts b/node_modules/remark-rehype/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..d493d939e716bdeee6ef9d23ecc2f588fac5e812
--- /dev/null
+++ b/node_modules/remark-rehype/index.d.ts
@@ -0,0 +1,4 @@
+export { default } from "./lib/index.js";
+export type Options = import("./lib/index.js").Options;
+export { defaultFootnoteBackContent, defaultFootnoteBackLabel, defaultHandlers } from "mdast-util-to-hast";
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/node_modules/remark-rehype/index.d.ts.map b/node_modules/remark-rehype/index.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..43cfb3e485027272ce4acbecfe05234a90659d31
--- /dev/null
+++ b/node_modules/remark-rehype/index.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";sBACa,OAAO,gBAAgB,EAAE,OAAO"}
\ No newline at end of file
diff --git a/node_modules/remark-rehype/index.js b/node_modules/remark-rehype/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..c574dd0fa754d0c4e8ce113519e1777635608025
--- /dev/null
+++ b/node_modules/remark-rehype/index.js
@@ -0,0 +1,10 @@
+/**
+ * @typedef {import('./lib/index.js').Options} Options
+ */
+
+export {
+ defaultFootnoteBackContent,
+ defaultFootnoteBackLabel,
+ defaultHandlers
+} from 'mdast-util-to-hast'
+export {default} from './lib/index.js'
diff --git a/node_modules/remark-rehype/lib/index.d.ts b/node_modules/remark-rehype/lib/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..bdb1928940aa500b4c9c0e5846d6b8daad5bdc58
--- /dev/null
+++ b/node_modules/remark-rehype/lib/index.d.ts
@@ -0,0 +1,353 @@
+/**
+ * Turn markdown into HTML.
+ *
+ * ##### Notes
+ *
+ * ###### Signature
+ *
+ * * if a processor is given,
+ * runs the (rehype) plugins used on it with a hast tree,
+ * then discards the result (*bridge mode*)
+ * * otherwise,
+ * returns a hast tree,
+ * the plugins used after `remarkRehype` are rehype plugins (*mutate mode*)
+ *
+ * > 👉 **Note**:
+ * > It’s highly unlikely that you want to pass a `processor`.
+ *
+ * ###### HTML
+ *
+ * Raw HTML is available in mdast as `html` nodes and can be embedded in hast
+ * as semistandard `raw` nodes.
+ * Most plugins ignore `raw` nodes but two notable ones don’t:
+ *
+ * * `rehype-stringify` also has an option `allowDangerousHtml` which will
+ * output the raw HTML.
+ * This is typically discouraged as noted by the option name but is useful if
+ * you completely trust authors
+ * * `rehype-raw` can handle the raw embedded HTML strings by parsing them
+ * into standard hast nodes (`element`, `text`, etc);
+ * this is a heavy task as it needs a full HTML parser,
+ * but it is the only way to support untrusted content
+ *
+ * ###### Footnotes
+ *
+ * Many options supported here relate to footnotes.
+ * Footnotes are not specified by CommonMark,
+ * which we follow by default.
+ * They are supported by GitHub,
+ * so footnotes can be enabled in markdown with `remark-gfm`.
+ *
+ * The options `footnoteBackLabel` and `footnoteLabel` define natural language
+ * that explains footnotes,
+ * which is hidden for sighted users but shown to assistive technology.
+ * When your page is not in English,
+ * you must define translated values.
+ *
+ * Back references use ARIA attributes,
+ * but the section label itself uses a heading that is hidden with an
+ * `sr-only` class.
+ * To show it to sighted users,
+ * define different attributes in `footnoteLabelProperties`.
+ *
+ * ###### Clobbering
+ *
+ * Footnotes introduces a problem,
+ * as it links footnote calls to footnote definitions on the page through `id`
+ * attributes generated from user content,
+ * which results in DOM clobbering.
+ *
+ * DOM clobbering is this:
+ *
+ * ```html
+ *
+ *
+ * ```
+ *
+ * Elements by their ID are made available by browsers on the `window` object,
+ * which is a security risk.
+ * Using a prefix solves this problem.
+ *
+ * More information on how to handle clobbering and the prefix is explained in
+ * *Example: headings (DOM clobbering)* in `rehype-sanitize`.
+ *
+ * ###### Unknown nodes
+ *
+ * Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.
+ * The default behavior for unknown nodes is:
+ *
+ * * when the node has a `value`
+ * (and doesn’t have `data.hName`, `data.hProperties`, or `data.hChildren`,
+ * see later),
+ * create a hast `text` node
+ * * otherwise,
+ * create a `` element (which could be changed with `data.hName`),
+ * with its children mapped from mdast to hast as well
+ *
+ * This behavior can be changed by passing an `unknownHandler`.
+ *
+ * @overload
+ * @param {Processor} processor
+ * @param {Readonly
| null | undefined} [options]
+ * @returns {TransformBridge}
+ *
+ * @overload
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformMutate}
+ *
+ * @overload
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformBridge | TransformMutate}
+ *
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * Processor or configuration (optional).
+ * @param {Readonly | null | undefined} [options]
+ * When a processor was given,
+ * configuration (optional).
+ * @returns {TransformBridge | TransformMutate}
+ * Transform.
+ */
+export default function remarkRehype(processor: Processor, options?: Readonly | null | undefined): TransformBridge;
+/**
+ * Turn markdown into HTML.
+ *
+ * ##### Notes
+ *
+ * ###### Signature
+ *
+ * * if a processor is given,
+ * runs the (rehype) plugins used on it with a hast tree,
+ * then discards the result (*bridge mode*)
+ * * otherwise,
+ * returns a hast tree,
+ * the plugins used after `remarkRehype` are rehype plugins (*mutate mode*)
+ *
+ * > 👉 **Note**:
+ * > It’s highly unlikely that you want to pass a `processor`.
+ *
+ * ###### HTML
+ *
+ * Raw HTML is available in mdast as `html` nodes and can be embedded in hast
+ * as semistandard `raw` nodes.
+ * Most plugins ignore `raw` nodes but two notable ones don’t:
+ *
+ * * `rehype-stringify` also has an option `allowDangerousHtml` which will
+ * output the raw HTML.
+ * This is typically discouraged as noted by the option name but is useful if
+ * you completely trust authors
+ * * `rehype-raw` can handle the raw embedded HTML strings by parsing them
+ * into standard hast nodes (`element`, `text`, etc);
+ * this is a heavy task as it needs a full HTML parser,
+ * but it is the only way to support untrusted content
+ *
+ * ###### Footnotes
+ *
+ * Many options supported here relate to footnotes.
+ * Footnotes are not specified by CommonMark,
+ * which we follow by default.
+ * They are supported by GitHub,
+ * so footnotes can be enabled in markdown with `remark-gfm`.
+ *
+ * The options `footnoteBackLabel` and `footnoteLabel` define natural language
+ * that explains footnotes,
+ * which is hidden for sighted users but shown to assistive technology.
+ * When your page is not in English,
+ * you must define translated values.
+ *
+ * Back references use ARIA attributes,
+ * but the section label itself uses a heading that is hidden with an
+ * `sr-only` class.
+ * To show it to sighted users,
+ * define different attributes in `footnoteLabelProperties`.
+ *
+ * ###### Clobbering
+ *
+ * Footnotes introduces a problem,
+ * as it links footnote calls to footnote definitions on the page through `id`
+ * attributes generated from user content,
+ * which results in DOM clobbering.
+ *
+ * DOM clobbering is this:
+ *
+ * ```html
+ *
+ *
+ * ```
+ *
+ * Elements by their ID are made available by browsers on the `window` object,
+ * which is a security risk.
+ * Using a prefix solves this problem.
+ *
+ * More information on how to handle clobbering and the prefix is explained in
+ * *Example: headings (DOM clobbering)* in `rehype-sanitize`.
+ *
+ * ###### Unknown nodes
+ *
+ * Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.
+ * The default behavior for unknown nodes is:
+ *
+ * * when the node has a `value`
+ * (and doesn’t have `data.hName`, `data.hProperties`, or `data.hChildren`,
+ * see later),
+ * create a hast `text` node
+ * * otherwise,
+ * create a `` element (which could be changed with `data.hName`),
+ * with its children mapped from mdast to hast as well
+ *
+ * This behavior can be changed by passing an `unknownHandler`.
+ *
+ * @overload
+ * @param {Processor} processor
+ * @param {Readonly
| null | undefined} [options]
+ * @returns {TransformBridge}
+ *
+ * @overload
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformMutate}
+ *
+ * @overload
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformBridge | TransformMutate}
+ *
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * Processor or configuration (optional).
+ * @param {Readonly | null | undefined} [options]
+ * When a processor was given,
+ * configuration (optional).
+ * @returns {TransformBridge | TransformMutate}
+ * Transform.
+ */
+export default function remarkRehype(options?: Readonly | null | undefined): TransformMutate;
+/**
+ * Turn markdown into HTML.
+ *
+ * ##### Notes
+ *
+ * ###### Signature
+ *
+ * * if a processor is given,
+ * runs the (rehype) plugins used on it with a hast tree,
+ * then discards the result (*bridge mode*)
+ * * otherwise,
+ * returns a hast tree,
+ * the plugins used after `remarkRehype` are rehype plugins (*mutate mode*)
+ *
+ * > 👉 **Note**:
+ * > It’s highly unlikely that you want to pass a `processor`.
+ *
+ * ###### HTML
+ *
+ * Raw HTML is available in mdast as `html` nodes and can be embedded in hast
+ * as semistandard `raw` nodes.
+ * Most plugins ignore `raw` nodes but two notable ones don’t:
+ *
+ * * `rehype-stringify` also has an option `allowDangerousHtml` which will
+ * output the raw HTML.
+ * This is typically discouraged as noted by the option name but is useful if
+ * you completely trust authors
+ * * `rehype-raw` can handle the raw embedded HTML strings by parsing them
+ * into standard hast nodes (`element`, `text`, etc);
+ * this is a heavy task as it needs a full HTML parser,
+ * but it is the only way to support untrusted content
+ *
+ * ###### Footnotes
+ *
+ * Many options supported here relate to footnotes.
+ * Footnotes are not specified by CommonMark,
+ * which we follow by default.
+ * They are supported by GitHub,
+ * so footnotes can be enabled in markdown with `remark-gfm`.
+ *
+ * The options `footnoteBackLabel` and `footnoteLabel` define natural language
+ * that explains footnotes,
+ * which is hidden for sighted users but shown to assistive technology.
+ * When your page is not in English,
+ * you must define translated values.
+ *
+ * Back references use ARIA attributes,
+ * but the section label itself uses a heading that is hidden with an
+ * `sr-only` class.
+ * To show it to sighted users,
+ * define different attributes in `footnoteLabelProperties`.
+ *
+ * ###### Clobbering
+ *
+ * Footnotes introduces a problem,
+ * as it links footnote calls to footnote definitions on the page through `id`
+ * attributes generated from user content,
+ * which results in DOM clobbering.
+ *
+ * DOM clobbering is this:
+ *
+ * ```html
+ *
+ *
+ * ```
+ *
+ * Elements by their ID are made available by browsers on the `window` object,
+ * which is a security risk.
+ * Using a prefix solves this problem.
+ *
+ * More information on how to handle clobbering and the prefix is explained in
+ * *Example: headings (DOM clobbering)* in `rehype-sanitize`.
+ *
+ * ###### Unknown nodes
+ *
+ * Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.
+ * The default behavior for unknown nodes is:
+ *
+ * * when the node has a `value`
+ * (and doesn’t have `data.hName`, `data.hProperties`, or `data.hChildren`,
+ * see later),
+ * create a hast `text` node
+ * * otherwise,
+ * create a `` element (which could be changed with `data.hName`),
+ * with its children mapped from mdast to hast as well
+ *
+ * This behavior can be changed by passing an `unknownHandler`.
+ *
+ * @overload
+ * @param {Processor} processor
+ * @param {Readonly
| null | undefined} [options]
+ * @returns {TransformBridge}
+ *
+ * @overload
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformMutate}
+ *
+ * @overload
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformBridge | TransformMutate}
+ *
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * Processor or configuration (optional).
+ * @param {Readonly | null | undefined} [options]
+ * When a processor was given,
+ * configuration (optional).
+ * @returns {TransformBridge | TransformMutate}
+ * Transform.
+ */
+export default function remarkRehype(destination?: Readonly | Processor | null | undefined, options?: Readonly | null | undefined): TransformBridge | TransformMutate;
+export type Options = Omit;
+/**
+ * Bridge-mode.
+ *
+ * Runs the destination with the new hast tree.
+ * Discards result.
+ */
+export type TransformBridge = (tree: MdastRoot, file: VFile) => Promise;
+/**
+ * Mutate-mode.
+ *
+ * Further transformers run on the hast tree.
+ */
+export type TransformMutate = (tree: MdastRoot, file: VFile) => HastRoot;
+import type { Processor } from 'unified';
+import type { Options as ToHastOptions } from 'mdast-util-to-hast';
+import type { Root as MdastRoot } from 'mdast';
+import type { VFile } from 'vfile';
+import type { Root as HastRoot } from 'hast';
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/node_modules/remark-rehype/lib/index.d.ts.map b/node_modules/remark-rehype/lib/index.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..4ccd01574e32539d9784d739f433258ce8cab581
--- /dev/null
+++ b/node_modules/remark-rehype/lib/index.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HG,gDACQ,SAAS,YACT,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,GAClC,eAAe,CAEzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CACQ,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,GAClC,eAAe,CAEzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDACQ,QAAQ,CAAC,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,GAAG,SAAS,YAChD,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,GAClC,eAAe,GAAG,eAAe,CAE3C;sBAlIU,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;;;;;;;qCAO7B,SAAS,QAET,KAAK,KAEH,OAAO,CAAC,SAAS,CAAC;;;;;;qCAOpB,SAAS,QAET,KAAK,KAEH,QAAQ;+BA3BO,SAAS;8CADM,oBAAoB;uCAD3B,OAAO;2BAGnB,OAAO;sCAJI,MAAM"}
\ No newline at end of file
diff --git a/node_modules/remark-rehype/lib/index.js b/node_modules/remark-rehype/lib/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..26e264fb8af57c9adb96299f2ca67cfc94d62bed
--- /dev/null
+++ b/node_modules/remark-rehype/lib/index.js
@@ -0,0 +1,175 @@
+/**
+ * @import {Root as HastRoot} from 'hast'
+ * @import {Root as MdastRoot} from 'mdast'
+ * @import {Options as ToHastOptions} from 'mdast-util-to-hast'
+ * @import {Processor} from 'unified'
+ * @import {VFile} from 'vfile'
+ */
+
+/**
+ * @typedef {Omit} Options
+ *
+ * @callback TransformBridge
+ * Bridge-mode.
+ *
+ * Runs the destination with the new hast tree.
+ * Discards result.
+ * @param {MdastRoot} tree
+ * Tree.
+ * @param {VFile} file
+ * File.
+ * @returns {Promise}
+ * Nothing.
+ *
+ * @callback TransformMutate
+ * Mutate-mode.
+ *
+ * Further transformers run on the hast tree.
+ * @param {MdastRoot} tree
+ * Tree.
+ * @param {VFile} file
+ * File.
+ * @returns {HastRoot}
+ * Tree (hast).
+ */
+
+import {toHast} from 'mdast-util-to-hast'
+
+/**
+ * Turn markdown into HTML.
+ *
+ * ##### Notes
+ *
+ * ###### Signature
+ *
+ * * if a processor is given,
+ * runs the (rehype) plugins used on it with a hast tree,
+ * then discards the result (*bridge mode*)
+ * * otherwise,
+ * returns a hast tree,
+ * the plugins used after `remarkRehype` are rehype plugins (*mutate mode*)
+ *
+ * > 👉 **Note**:
+ * > It’s highly unlikely that you want to pass a `processor`.
+ *
+ * ###### HTML
+ *
+ * Raw HTML is available in mdast as `html` nodes and can be embedded in hast
+ * as semistandard `raw` nodes.
+ * Most plugins ignore `raw` nodes but two notable ones don’t:
+ *
+ * * `rehype-stringify` also has an option `allowDangerousHtml` which will
+ * output the raw HTML.
+ * This is typically discouraged as noted by the option name but is useful if
+ * you completely trust authors
+ * * `rehype-raw` can handle the raw embedded HTML strings by parsing them
+ * into standard hast nodes (`element`, `text`, etc);
+ * this is a heavy task as it needs a full HTML parser,
+ * but it is the only way to support untrusted content
+ *
+ * ###### Footnotes
+ *
+ * Many options supported here relate to footnotes.
+ * Footnotes are not specified by CommonMark,
+ * which we follow by default.
+ * They are supported by GitHub,
+ * so footnotes can be enabled in markdown with `remark-gfm`.
+ *
+ * The options `footnoteBackLabel` and `footnoteLabel` define natural language
+ * that explains footnotes,
+ * which is hidden for sighted users but shown to assistive technology.
+ * When your page is not in English,
+ * you must define translated values.
+ *
+ * Back references use ARIA attributes,
+ * but the section label itself uses a heading that is hidden with an
+ * `sr-only` class.
+ * To show it to sighted users,
+ * define different attributes in `footnoteLabelProperties`.
+ *
+ * ###### Clobbering
+ *
+ * Footnotes introduces a problem,
+ * as it links footnote calls to footnote definitions on the page through `id`
+ * attributes generated from user content,
+ * which results in DOM clobbering.
+ *
+ * DOM clobbering is this:
+ *
+ * ```html
+ *
+ *
+ * ```
+ *
+ * Elements by their ID are made available by browsers on the `window` object,
+ * which is a security risk.
+ * Using a prefix solves this problem.
+ *
+ * More information on how to handle clobbering and the prefix is explained in
+ * *Example: headings (DOM clobbering)* in `rehype-sanitize`.
+ *
+ * ###### Unknown nodes
+ *
+ * Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.
+ * The default behavior for unknown nodes is:
+ *
+ * * when the node has a `value`
+ * (and doesn’t have `data.hName`, `data.hProperties`, or `data.hChildren`,
+ * see later),
+ * create a hast `text` node
+ * * otherwise,
+ * create a `` element (which could be changed with `data.hName`),
+ * with its children mapped from mdast to hast as well
+ *
+ * This behavior can be changed by passing an `unknownHandler`.
+ *
+ * @overload
+ * @param {Processor} processor
+ * @param {Readonly
| null | undefined} [options]
+ * @returns {TransformBridge}
+ *
+ * @overload
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformMutate}
+ *
+ * @overload
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * @param {Readonly | null | undefined} [options]
+ * @returns {TransformBridge | TransformMutate}
+ *
+ * @param {Readonly | Processor | null | undefined} [destination]
+ * Processor or configuration (optional).
+ * @param {Readonly | null | undefined} [options]
+ * When a processor was given,
+ * configuration (optional).
+ * @returns {TransformBridge | TransformMutate}
+ * Transform.
+ */
+export default function remarkRehype(destination, options) {
+ if (destination && 'run' in destination) {
+ /**
+ * @type {TransformBridge}
+ */
+ return async function (tree, file) {
+ // Cast because root in -> root out.
+ const hastTree = /** @type {HastRoot} */ (
+ toHast(tree, {file, ...options})
+ )
+ await destination.run(hastTree, file)
+ }
+ }
+
+ /**
+ * @type {TransformMutate}
+ */
+ return function (tree, file) {
+ // Cast because root in -> root out.
+ // To do: in the future, disallow ` || options` fallback.
+ // With `unified-engine`, `destination` can be `undefined` but
+ // `options` will be the file set.
+ // We should not pass that as `options`.
+ return /** @type {HastRoot} */ (
+ toHast(tree, {file, ...(destination || options)})
+ )
+ }
+}
diff --git a/node_modules/remark-rehype/license b/node_modules/remark-rehype/license
new file mode 100644
index 0000000000000000000000000000000000000000..bc8f165a62768a19de38901d81ac662c51ff29db
--- /dev/null
+++ b/node_modules/remark-rehype/license
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) Titus Wormer
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/remark-rehype/package.json b/node_modules/remark-rehype/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..605c2ef255db1faa966d0fc031356f74770e657c
--- /dev/null
+++ b/node_modules/remark-rehype/package.json
@@ -0,0 +1,86 @@
+{
+ "author": "Titus Wormer (https://wooorm.com)",
+ "bugs": "https://github.com/remarkjs/remark-rehype/issues",
+ "contributors": [
+ "John Otander (https://johno.com)",
+ "Titus Wormer (https://wooorm.com)"
+ ],
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "unified": "^11.0.0",
+ "vfile": "^6.0.0"
+ },
+ "description": "remark plugin that turns markdown into HTML to support rehype",
+ "devDependencies": {
+ "@types/node": "^22.0.0",
+ "c8": "^10.0.0",
+ "prettier": "^3.0.0",
+ "rehype-slug": "^6.0.0",
+ "rehype-stringify": "^10.0.0",
+ "remark-cli": "^12.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-preset-wooorm": "^11.0.0",
+ "remark-stringify": "^11.0.0",
+ "type-coverage": "^2.0.0",
+ "typescript": "^5.0.0",
+ "xo": "^0.60.0"
+ },
+ "exports": "./index.js",
+ "files": [
+ "index.d.ts.map",
+ "index.d.ts",
+ "index.js",
+ "lib/"
+ ],
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "keywords": [
+ "hast",
+ "html",
+ "markdown",
+ "mdast",
+ "plugin",
+ "rehype-plugin",
+ "rehype",
+ "remark-plugin",
+ "remark",
+ "unified"
+ ],
+ "license": "MIT",
+ "name": "remark-rehype",
+ "prettier": {
+ "bracketSpacing": false,
+ "singleQuote": true,
+ "semi": false,
+ "tabWidth": 2,
+ "trailingComma": "none",
+ "useTabs": false
+ },
+ "remarkConfig": {
+ "plugins": [
+ "remark-preset-wooorm"
+ ]
+ },
+ "repository": "remarkjs/remark-rehype",
+ "scripts": {
+ "build": "tsc --build --clean && tsc --build && type-coverage",
+ "format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
+ "test-api": "node --conditions development test.js",
+ "test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
+ "test": "npm run build && npm run format && npm run test-coverage"
+ },
+ "sideEffects": false,
+ "typeCoverage": {
+ "atLeast": 100,
+ "strict": true
+ },
+ "type": "module",
+ "version": "11.1.2",
+ "xo": {
+ "prettier": true
+ }
+}
diff --git a/node_modules/remark-rehype/readme.md b/node_modules/remark-rehype/readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..ad20328778ddb28fbcb364bb3e417b89ce744441
--- /dev/null
+++ b/node_modules/remark-rehype/readme.md
@@ -0,0 +1,802 @@
+# remark-rehype
+
+[![Build][badge-build-image]][badge-build-url]
+[![Coverage][badge-coverage-image]][badge-coverage-url]
+[![Downloads][badge-downloads-image]][badge-downloads-url]
+[![Size][badge-size-image]][badge-size-url]
+
+**[remark][github-remark]** plugin that turns markdown into HTML to support
+**[rehype][github-rehype]**.
+
+## Contents
+
+* [What is this?](#what-is-this)
+* [When should I use this?](#when-should-i-use-this)
+* [Install](#install)
+* [Use](#use)
+* [API](#api)
+ * [`defaultFootnoteBackContent(referenceIndex, rereferenceIndex)`](#defaultfootnotebackcontentreferenceindex-rereferenceindex)
+ * [`defaultFootnoteBackLabel(referenceIndex, rereferenceIndex)`](#defaultfootnotebacklabelreferenceindex-rereferenceindex)
+ * [`defaultHandlers`](#defaulthandlers)
+ * [`unified().use(remarkRehype[, destination][, options])`](#unifieduseremarkrehype-destination-options)
+ * [`Options`](#options)
+* [Examples](#examples)
+ * [Example: supporting HTML in markdown naïvely](#example-supporting-html-in-markdown-naïvely)
+ * [Example: supporting HTML in markdown properly](#example-supporting-html-in-markdown-properly)
+ * [Example: footnotes in languages other than English](#example-footnotes-in-languages-other-than-english)
+* [HTML](#html-1)
+* [CSS](#css)
+* [Syntax tree](#syntax-tree)
+* [Types](#types)
+* [Compatibility](#compatibility)
+* [Security](#security)
+* [Related](#related)
+* [Contribute](#contribute)
+* [License](#license)
+
+## What is this?
+
+This package is a [unified][github-unified] ([remark][github-remark])
+plugin that switches from remark (the markdown ecosystem)
+to rehype (the HTML ecosystem).
+It does this by transforming the current markdown (mdast) syntax tree into an
+HTML (hast) syntax tree.
+remark plugins deal with mdast and rehype plugins deal with hast,
+so plugins used after `remark-rehype` have to be rehype plugins.
+
+The reason that there are different ecosystems for markdown and HTML is that
+turning markdown into HTML is,
+while frequently needed,
+not the only purpose of markdown.
+Checking (linting) and formatting markdown are also common use cases for
+remark and markdown.
+There are several aspects of markdown that do not translate 1-to-1 to HTML.
+In some cases markdown contains more information than HTML:
+for example,
+there are several ways to add a link in markdown
+(as in,
+autolinks: ``,
+resource links: `[label](url)`,
+and reference links with definitions:
+`[label][id]` and `[id]: url`).
+In other cases HTML contains more information than markdown:
+there are many tags,
+which add new meaning (semantics),
+available in HTML that aren’t available in markdown.
+If there was just one AST,
+it would be quite hard to perform the tasks that several remark and rehype
+plugins currently do.
+
+## When should I use this?
+
+This project is useful when you want to turn markdown to HTML.
+It opens up a whole new ecosystem with tons of plugins to do all kinds of
+things.
+You can [minify HTML][github-rehype-minify],
+[format HTML][github-rehype-format],
+[make sure it’s safe][github-rehype-sanitize],
+[highlight code][github-rehype-starry-night],
+[add metadata][github-rehype-meta],
+and a lot more.
+
+A different plugin,
+[`rehype-raw`][github-rehype-raw],
+adds support for raw HTML written inside markdown.
+This is a separate plugin because supporting HTML inside markdown is a heavy
+task (performance and bundle size) and not always needed.
+To use both together,
+you also have to configure `remark-rehype` with `allowDangerousHtml: true` and
+then use `rehype-raw`.
+
+The rehype plugin [`rehype-remark`][github-rehype-remark] does the inverse of
+this plugin.
+It turns HTML into markdown.
+
+If you don’t use plugins and want to access syntax trees,
+you can use
+[`mdast-util-to-hast`][github-mdast-util-to-hast].
+
+## Install
+
+This package is [ESM only][github-gist-esm].
+In Node.js (version 16+),
+install with [npm][npmjs-install]:
+
+```sh
+npm install remark-rehype
+```
+
+In Deno with [`esm.sh`][esmsh]:
+
+```js
+import remarkRehype from 'https://esm.sh/remark-rehype@11'
+```
+
+In browsers with [`esm.sh`][esmsh]:
+
+```html
+
+```
+
+## Use
+
+Say our document `example.md` contains:
+
+```markdown
+# Pluto
+
+**Pluto** (minor-planet designation: **134340 Pluto**) is a
+[dwarf planet](https://en.wikipedia.org/wiki/Dwarf_planet) in the
+[Kuiper belt](https://en.wikipedia.org/wiki/Kuiper_belt).
+```
+
+…and our module `example.js` contains:
+
+```js
+import rehypeDocument from 'rehype-document'
+import rehypeFormat from 'rehype-format'
+import rehypeStringify from 'rehype-stringify'
+import remarkParse from 'remark-parse'
+import remarkRehype from 'remark-rehype'
+import {read} from 'to-vfile'
+import {unified} from 'unified'
+import {reporter} from 'vfile-reporter'
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkRehype)
+ .use(rehypeDocument)
+ .use(rehypeFormat)
+ .use(rehypeStringify)
+ .process(await read('example.md'))
+
+console.error(reporter(file))
+console.log(String(file))
+```
+
+…then running `node example.js` yields:
+
+```text
+example.md: no issues found
+```
+
+```html
+
+
+
+
+ example
+
+
+
+ Pluto
+
+ Pluto (minor-planet designation: 134340 Pluto) is a
+ dwarf planet in the
+ Kuiper belt.
+
+
+
+```
+
+## API
+
+This package exports the identifiers
+[`defaultFootnoteBackContent`][api-default-footnote-back-content],
+[`defaultFootnoteBackLabel`][api-default-footnote-back-label],
+and
+[`defaultHandlers`][api-default-handlers].
+The default export is [`remarkRehype`][api-remark-rehype].
+
+### `defaultFootnoteBackContent(referenceIndex, rereferenceIndex)`
+
+See [`defaultFootnoteBackContent` from
+`mdast-util-to-hast`][github-mdast-util-to-hast-default-back-content].
+
+### `defaultFootnoteBackLabel(referenceIndex, rereferenceIndex)`
+
+See [`defaultFootnoteBackLabel` from
+`mdast-util-to-hast`][github-mdast-util-to-hast-default-back-label].
+
+### `defaultHandlers`
+
+See [`defaultHandlers` from
+`mdast-util-to-hast`][github-mdast-util-to-hast-default-handlers].
+
+### `unified().use(remarkRehype[, destination][, options])`
+
+Turn markdown into HTML.
+
+###### Parameters
+
+* `destination`
+ ([`Processor`][github-unified-processor], optional)
+ — processor
+* `options`
+ ([`Options`][api-options], optional)
+ — configuration
+
+###### Returns
+
+Transform ([`Transformer`][github-unified-transformer]).
+
+##### Notes
+
+###### Signature
+
+* if a [processor][github-unified-processor] is given,
+ runs the (rehype) plugins used on it with a hast tree,
+ then discards the result
+ ([*bridge mode*][github-unified-mode])
+* otherwise,
+ returns a hast tree,
+ the plugins used after `remarkRehype` are rehype plugins
+ ([*mutate mode*][github-unified-mode])
+
+> 👉 **Note**:
+> it’s highly unlikely that you want to pass a `processor`.
+
+###### HTML
+
+Raw HTML is available in mdast as [`html`][github-mdast-html] nodes and can be
+embedded in hast as semistandard `raw` nodes.
+Most plugins ignore `raw` nodes but two notable ones don’t:
+
+* [`rehype-stringify`][github-rehype-stringify] also has an option
+ `allowDangerousHtml` which will output the raw HTML;
+ this is typically discouraged as noted by the option name but is useful if
+ you completely trust authors
+* [`rehype-raw`][github-rehype-raw] can handle the raw embedded HTML strings by
+ parsing them into standard hast nodes
+ (`element`, `text`, etc);
+ This is a heavy task as it needs a full HTML parser,
+ but it is the only way to support untrusted content
+
+###### Footnotes
+
+Many options supported here relate to footnotes.
+Footnotes are not specified by CommonMark,
+which we follow by default.
+They are supported by GitHub,
+so footnotes can be enabled in markdown with [`remark-gfm`][github-remark-gfm].
+
+The options `footnoteBackLabel` and `footnoteLabel` define natural language
+that explains footnotes,
+which is hidden for sighted users but shown to assistive technology.
+When your page is not in English,
+you must define translated values.
+
+Back references use ARIA attributes,
+but the section label itself uses a heading that is hidden with an
+`sr-only` class.
+To show it to sighted users,
+define different attributes in `footnoteLabelProperties`.
+
+###### Clobbering
+
+Footnotes introduces a problem,
+as it links footnote calls to footnote definitions on the page through `id`
+attributes generated from user content,
+which results in DOM clobbering.
+
+DOM clobbering is this:
+
+```html
+
+
+```
+
+Elements by their ID are made available by browsers on the `window` object,
+which is a security risk.
+Using a prefix solves this problem.
+
+More information on how to handle clobbering and the prefix is explained in
+[*Example: headings (DOM clobbering)* in
+`rehype-sanitize`][github-rehype-sanitize-clobber].
+
+###### Unknown nodes
+
+Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.
+The default behavior for unknown nodes is:
+
+* when the node has a `value`
+ (and doesn’t have `data.hName`, `data.hProperties`, or `data.hChildren`,
+ see later),
+ create a hast `text` node
+* otherwise,
+ create a `` element
+ (which could be changed with `data.hName`),
+ with its children mapped from mdast to hast as well
+
+This behavior can be changed by passing an `unknownHandler`.
+
+### `Options`
+
+Configuration (TypeScript type).
+
+###### Fields
+
+* `allowDangerousHtml`
+ (`boolean`, default: `false`)
+ — whether to persist raw HTML in markdown in the hast tree
+* `clobberPrefix`
+ (`string`, default: `'user-content-'`)
+ — prefix to use before the `id` property on footnotes to prevent them from
+ *clobbering*
+* `footnoteBackContent`
+ ([`FootnoteBackContentTemplate` from
+ `mdast-util-to-hast`][github-mdast-util-to-hast-back-content-template]
+ or `string`, default:
+ [`defaultFootnoteBackContent` from
+ `mdast-util-to-hast`][github-mdast-util-to-hast-default-back-content])
+ — content of the backreference back to references
+* `footnoteBackLabel`
+ ([`FootnoteBackLabelTemplate` from
+ `mdast-util-to-hast`][github-mdast-util-to-hast-back-label-template]
+ or `string`, default:
+ [`defaultFootnoteBackLabel` from
+ `mdast-util-to-hast`][github-mdast-util-to-hast-default-back-label])
+ — label to describe the backreference back to references
+* `footnoteLabel`
+ (`string`, default: `'Footnotes'`)
+ — label to use for the footnotes section (affects screen readers)
+* `footnoteLabelProperties`
+ ([`Properties` from `@types/hast`][github-hast-properties], default:
+ `{className: ['sr-only']}`)
+ — properties to use on the footnote label
+ (note that `id: 'footnote-label'` is always added as footnote calls use it
+ with `aria-describedby` to provide an accessible label)
+* `footnoteLabelTagName`
+ (`string`, default: `h2`)
+ — tag name to use for the footnote label
+* `handlers`
+ ([`Handlers` from
+ `mdast-util-to-hast`][github-mdast-util-to-hast-handlers], optional)
+ — extra handlers for nodes
+* `passThrough`
+ (`Array
`, optional)
+ — list of custom mdast node types to pass through (keep) in hast (note that
+ the node itself is passed, but eventual children are transformed)
+* `unknownHandler`
+ ([`Handler` from
+ `mdast-util-to-hast`][github-mdast-util-to-hast-handler], optional)
+ — handle all unknown nodes
+
+## Examples
+
+### Example: supporting HTML in markdown naïvely
+
+If you completely trust the authors of the input markdown and want to allow them
+to write HTML inside markdown,
+you can pass `allowDangerousHtml` to `remark-rehype` and `rehype-stringify`:
+
+```js
+import rehypeStringify from 'rehype-stringify'
+import remarkParse from 'remark-parse'
+import remarkRehype from 'remark-rehype'
+import {unified} from 'unified'
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkRehype, {allowDangerousHtml: true})
+ .use(rehypeStringify, {allowDangerousHtml: true})
+ .process('Dysnomia')
+
+console.log(String(file))
+```
+
+Yields:
+
+```html
+Dysnomia
+```
+
+> ⚠️ **Danger**:
+> observe that the XSS attack through `onclick` is present.
+
+### Example: supporting HTML in markdown properly
+
+If you do not trust the authors of the input markdown,
+or if you want to make sure that rehype plugins can see HTML embedded in
+markdown,
+use [`rehype-raw`][github-rehype-raw].
+The following example passes `allowDangerousHtml` to `remark-rehype`,
+then turns the raw embedded HTML into proper HTML nodes with `rehype-raw`,
+and finally sanitizes the HTML by only allowing safe things with
+`rehype-sanitize`:
+
+```js
+import rehypeSanitize from 'rehype-sanitize'
+import rehypeStringify from 'rehype-stringify'
+import rehypeRaw from 'rehype-raw'
+import remarkParse from 'remark-parse'
+import remarkRehype from 'remark-rehype'
+import {unified} from 'unified'
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkRehype, {allowDangerousHtml: true})
+ .use(rehypeRaw)
+ .use(rehypeSanitize)
+ .use(rehypeStringify)
+ .process('Dysnomia')
+
+console.log(String(file))
+```
+
+Running that code yields:
+
+```html
+Dysnomia
+```
+
+> ⚠️ **Danger**:
+> observe that the XSS attack through `onclick` is **not** present.
+
+### Example: footnotes in languages other than English
+
+If you know that the markdown is authored in a language other than English,
+and you’re using `remark-gfm` to match how GitHub renders markdown,
+and you know that footnotes are (or can?) be used,
+you should translate the labels associated with them.
+
+Let’s first set the stage:
+
+```js
+import {unified} from 'unified'
+import remarkParse from 'remark-parse'
+import remarkGfm from 'remark-gfm'
+import remarkRehype from 'remark-rehype'
+import rehypeStringify from 'rehype-stringify'
+
+const doc = `
+Ceres ist nach der römischen Göttin des Ackerbaus benannt;
+ihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.[^nasa-2015]
+
+[^nasa-2015]: JPL/NASA:
+ [*What is a Dwarf Planet?*](https://www.jpl.nasa.gov/infographics/what-is-a-dwarf-planet)
+ In: Jet Propulsion Laboratory.
+ 22. April 2015,
+ abgerufen am 19. Januar 2022 (englisch).
+`
+
+const file = await unified()
+ .use(remarkParse)
+ .use(remarkGfm)
+ .use(remarkRehype)
+ .use(rehypeStringify)
+ .process(doc)
+
+console.log(String(file))
+```
+
+Yields:
+
+```html
+Ceres ist nach der römischen Göttin des Ackerbaus benannt;
+ihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.1
+
+```
+
+This is a mix of English and German that isn’t very accessible,
+such as that screen readers can’t handle it nicely.
+Let’s say our program *does* know that the markdown is in German.
+In that case,
+it’s important to translate and define the labels relating to footnotes so that
+screen reader users can properly pronounce the page:
+
+```diff
+@@ -18,7 +18,16 @@ ihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.[^nasa-2015]
+ const file = await unified()
+ .use(remarkParse)
+ .use(remarkGfm)
+- .use(remarkRehype)
++ .use(remarkRehype, {
++ footnoteBackLabel(referenceIndex, rereferenceIndex) {
++ return (
++ 'Hochspringen nach: ' +
++ (referenceIndex + 1) +
++ (rereferenceIndex > 1 ? '-' + rereferenceIndex : '')
++ )
++ },
++ footnoteLabel: 'Fußnoten'
++ })
+ .use(rehypeStringify)
+ .process(doc)
+```
+
+Running the code with the above patch applied,
+yields:
+
+```diff
+@@ -1,13 +1,13 @@
+ Ceres ist nach der römischen Göttin des Ackerbaus benannt;
+ ihr astronomisches Symbol ist daher eine stilisierte Sichel: ⚳.1
+-