@mirrordown/remd-tab-icons 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +57 -0
- package/README.md +8 -6
- package/dist/index.mjs +17 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
## 0.1.1
|
|
5
|
+
<sub>2026-11-17</sub>
|
|
6
|
+
|
|
7
|
+
- *(patch)*
|
|
8
|
+
Fixes for labels whose `[!keyword]` marker sits next to other markup, and for the `icons` and `containerClass` options.
|
|
9
|
+
|
|
10
|
+
- **A marker followed by inline markup no longer repeats the label** (all engines).
|
|
11
|
+
|
|
12
|
+
```markdown
|
|
13
|
+
% [!npm] **Install**
|
|
14
|
+
> Body.
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Was the label `<svg…/>Install<strong>Install</strong>`. Now `<svg…/><strong>Install</strong>`. The same happened with a code span: ``% [!npm] `npm i` `` rendered `npm i<code>npm i</code>`.
|
|
18
|
+
|
|
19
|
+
- **A marker is read only at the start of the label's text** (all engines).
|
|
20
|
+
|
|
21
|
+
```markdown
|
|
22
|
+
% **[!npm]** Install
|
|
23
|
+
> Body.
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Was the label as written but the panel's `aria-label` cut down to `Install` (and in markdown-it an extra `Install` before the `<strong>`). Now the label as written with `aria-label="[!npm] Install"`; the label still gets the npm icon, matched by its text. The same goes for a marker in a code span, and for one split by emphasis (`[!n**p**m]`), which rendered `Install<strong>p</strong>m] Install`.
|
|
27
|
+
|
|
28
|
+
- **A marker whose keyword is a defined abbreviation is still a marker** (all engines), with the abbr plugin.
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
*[npm]: Node Package Manager
|
|
32
|
+
|
|
33
|
+
% [!npm] Install
|
|
34
|
+
> Body.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Was the label `<svg…/>Install<abbr title="Node Package Manager">npm</abbr>] Install`. Now `<svg…/>Install`.
|
|
38
|
+
|
|
39
|
+
- **The markdown-it plugin honours `containerClass`.** It added icons to every tab group whatever the option said, where remark and Sätteri only touch groups that carry the class. If you give the tabs plugin a `containerClass`, pass the same value to tab-icons, in every engine: without it markdown-it now leaves those labels alone, as the other two always did.
|
|
40
|
+
|
|
41
|
+
- **An icon of yours wins a tie with a built-in keyword of the same length** (all engines), here with `icons: { cargo: … }`.
|
|
42
|
+
|
|
43
|
+
```markdown
|
|
44
|
+
% cargo and react
|
|
45
|
+
> Body.
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Was the built-in React icon. Now your `cargo` icon. A longer keyword still wins over a shorter one.
|
|
49
|
+
|
|
50
|
+
- **A key in `icons` replaces a built-in icon whatever its case** (all engines). With `icons: { NPM: … }`, a `[!npm]` marker got your icon while a label reading `npm` kept the built-in one; both now get yours.
|
|
51
|
+
|
|
52
|
+
- **Your SVG markup keeps its attributes** (all engines). An icon written with single-quoted attributes (`<svg viewBox='0 0 24 24'>`) or unquoted ones (`<svg width=24 height=24>`) lost them, and with them its size; they are now kept, written back in double quotes. A `>` inside an attribute value no longer cuts the tag short.
|
|
53
|
+
|
|
54
|
+
- **A self-closing `<svg … />` icon is closed** (all engines). It was written without its end, so the label's text became the icon's content; it is now `<svg …></svg>` followed by the label.
|
|
55
|
+
|
|
56
|
+
- **An icon whose markup does not start with `<svg` is refused when the plugin is created** (all engines). `icons: { cargo: '<img src="cargo.png" alt="">' }` used to be emitted as it was, without the icon's class or `aria-hidden`; it now throws a `TypeError` naming the key. A `{ light, dark }` pair missing one variant throws at the same point instead of at render.
|
|
57
|
+
|
|
58
|
+
- **The ids inside the built-in icons are named after the icon** (all engines). Icons that carry gradients or clip paths had short random ids such as `SVGgudELdDz`; they are now `markdown-tab-icon-<collection>-<name>-<n>`, so they cannot collide with another inline SVG on the page. An icon used twice in a document still repeats its ids, which the guide now says.
|
|
59
|
+
|
|
3
60
|
## 0.1.0
|
|
4
61
|
<sub>2026-10-28</sub>
|
|
5
62
|
|
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@ A remark/rehype (unified) plugin for the `tab-icons` syntax extension.
|
|
|
9
9
|
The `tab-icons` plugin adds an icon to the labels of [tab groups](/guide/plugins/tabs). A label gets the icon its text matches (`npm`, `pnpm`, `vite.config.ts`), or the one a `[!keyword]` marker at its start names. The icon is an inline `<svg>` before the label's text:
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
<svg class="markdown-tab-icon" aria-hidden="true"
|
|
12
|
+
<input type="radio" name="..." id="..." hidden checked>
|
|
13
|
+
<label class="markdown-tabs-label" for="...">
|
|
14
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" class="markdown-tab-icon" aria-hidden="true">...</svg>
|
|
15
15
|
npm
|
|
16
16
|
</label>
|
|
17
17
|
```
|
|
@@ -83,7 +83,7 @@ Start a label with `[!keyword]` to choose its icon, the way a [GitHub alert](/gu
|
|
|
83
83
|
> ```
|
|
84
84
|
````
|
|
85
85
|
|
|
86
|
-
`[!none]` turns matching off for one label. A keyword that names no icon isn't a marker: `[!foo] Install` stays as written.
|
|
86
|
+
`[!none]` turns matching off for one label. A keyword that names no icon isn't a marker: `[!foo] Install` stays as written. Nor is a marker that isn't plain text at the very start of the label: inside markup (`**[!npm]** Install`), or with a piece of it taken by markup (`[!n**p**m]`), it stays as written and the label is matched by its text. Markup after a marker is fine: `[!npm] **Install**`, and so is a keyword that is also a defined [abbreviation](/guide/plugins/abbr): `[!npm]` is still the marker.
|
|
87
87
|
|
|
88
88
|
## How a label is matched
|
|
89
89
|
|
|
@@ -123,13 +123,15 @@ Matching works on words, not meaning, so a label can match by accident: `Next st
|
|
|
123
123
|
| Files | `editorconfig` `gitattributes` `gitignore` `tsconfig` `package.json` `uno.config.ts` `.env` |
|
|
124
124
|
| Extensions | `.c` `.cjs` `.cpp` `.cs` `.css` `.cts` `.dart` `.gjs` `.go` `.groovy` `.gts` `.html` `.ico` `.ini` `.java` `.js` `.json` `.jsp` `.jsx` `.kt` `.less` `.lua` `.md` `.mjs` `.mts` `.php` `.py` `.r` `.rb` `.rs` `.sass` `.scala` `.scss` `.sln` `.swift` `.toml` `.ts` `.tsx` `.wasm` `.yaml` `.yml` |
|
|
125
125
|
|
|
126
|
+
Some built-in icons define a gradient or a clip path with an id of its own, namespaced `markdown-tab-icon-…`. An icon that appears more than once in a document is written out each time, so those ids repeat, each time on the same definition.
|
|
127
|
+
|
|
126
128
|
## Configuration
|
|
127
129
|
|
|
128
130
|
All options are passed when registering the plugin.
|
|
129
131
|
|
|
130
132
|
### Add or replace icons
|
|
131
133
|
|
|
132
|
-
`icons` maps keys to SVG markup. A key with a `.` is matched as a file name or extension, any other key as a keyword, and a key that is also built in replaces that icon. Your file names and extensions are tried before the built-in ones, so `.vitepress` matches `.vitepress/config.ts` before `.ts` does. Icons from [Iconify](https://icon-sets.iconify.design/) work well: copy an icon's SVG.
|
|
134
|
+
`icons` maps keys to SVG markup. A key with a `.` is matched as a file name or extension, any other key as a keyword, and a key that is also built in, in any case, replaces that icon. Your file names and extensions are tried before the built-in ones, so `.vitepress` matches `.vitepress/config.ts` before `.ts` does; the longest keyword still wins, and of two of the same length yours does. Icons from [Iconify](https://icon-sets.iconify.design/) work well: copy an icon's SVG. An icon is one `<svg>` element, which takes the icon's class and `aria-hidden`: markup that starts with anything else (an XML declaration, a comment, an `<img>`) throws when the plugin is created.
|
|
133
135
|
|
|
134
136
|
```ts
|
|
135
137
|
rehypeTabIcons({
|
|
@@ -187,7 +189,7 @@ Icons with light and dark variants follow the reader's preferred color scheme. A
|
|
|
187
189
|
}
|
|
188
190
|
```
|
|
189
191
|
|
|
190
|
-
The plugin decorates the tab groups that the [tabs](/guide/plugins/tabs) plugin builds, so install that too.
|
|
192
|
+
The plugin decorates the tab groups that the [tabs](/guide/plugins/tabs) plugin builds, so install that too. Register it once: a second copy reads the labels the first one changed, so it adds a second icon and matches a label whose `[!none]` has already come out (unified ignores a plugin registered twice; markdown-it and Sätteri run both).
|
|
191
193
|
|
|
192
194
|
## Install
|
|
193
195
|
|
package/dist/index.mjs
CHANGED
|
@@ -24,13 +24,23 @@ const rehypeTabIcons = (options = {}) => {
|
|
|
24
24
|
const panel = panels[index];
|
|
25
25
|
const key = panel && `aria-label` in panel.properties ? `aria-label` : `ariaLabel`;
|
|
26
26
|
const plain = panel?.properties[key];
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
const first = label.children[0]?.type === `text` ? label.children[0] : void 0;
|
|
28
|
+
const [, abbr, after] = label.children;
|
|
29
|
+
const term = abbr?.type === `element` && abbr.tagName === `abbr` && abbr.children.length === 1 && abbr.children[0]?.type === `text` ? abbr.children[0] : void 0;
|
|
30
|
+
const split = first?.value === `[!` && abbr && term && after?.type === `text` && after.value.startsWith(`]`) ? {
|
|
31
|
+
abbr,
|
|
32
|
+
after,
|
|
33
|
+
lead: first.value + term.value + after.value
|
|
34
|
+
} : void 0;
|
|
35
|
+
const { icon, marker, label: text } = resolve(typeof plain === `string` ? plain : ``, split?.lead ?? first?.value ?? ``);
|
|
36
|
+
if (marker && split) {
|
|
37
|
+
split.after.value = split.lead.slice(marker.length);
|
|
38
|
+
const only = label.children.length === 3 && split.after.value === ``;
|
|
39
|
+
label.children.splice(0, 3, ...only ? [split.abbr] : [], ...split.after.value ? [split.after] : []);
|
|
40
|
+
if (panel) panel.properties[key] = text;
|
|
41
|
+
} else if (marker && first) {
|
|
42
|
+
first.value = first.value.slice(marker.length) || (label.children.length === 1 ? text : ``);
|
|
43
|
+
if (first.value === ``) label.children.shift();
|
|
34
44
|
if (panel) panel.properties[key] = text;
|
|
35
45
|
}
|
|
36
46
|
if (icon) label.children.unshift({
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Element, ElementContent, Root } from \"hast\";\nimport type { Plugin } from \"unified\";\nimport { visit } from \"unist-util-visit\";\nimport {\n createTabIconResolver,\n tabIconMarkup,\n type TabIconsOptions\n} from \"@mirrordown/core/tab-icons\";\n\nexport type { TabIcon, TabIconsOptions } from \"@mirrordown/core/tab-icons\";\n\nconst hasClass = (node: ElementContent | undefined, name: string): boolean => {\n if (node?.type !== `element`) return false;\n const value = node.properties.className ?? node.properties.class;\n return Array.isArray(value)\n ? value.includes(name)\n : typeof value === `string` && value.split(` `).includes(name);\n};\n\n// A group's own children with a class: its labels or panels (a group nested in a panel has its own).\nconst childrenWithClass = (\n parent: Element | undefined,\n name: string\n): Element[] =>\n (parent?.children ?? []).filter((child): child is Element =>\n hasClass(child, name)\n );\n\n/**\n * rehype plugin that adds an icon to each tab label of `@mirrordown/remd-tabs`: the one a `[!keyword]` marker at the start of the label names (`% [!npm] Install`), or, without a marker, the one the label's text matches (`% npm`, `% vite.config.ts`), as vitepress-plugin-group-icons matches code-group labels. The icon is an inline `<svg class=\"markdown-tab-icon\" aria-hidden=\"true\">` before the label's text, as a `raw` node, so it reaches the HTML exactly as the markdown-it and Sätteri plugins write it (stringify with `allowDangerousHtml`); the marker comes out of the label and the panel's `aria-label`. The matching and the icons are shared through `@mirrordown/core`.\n */\nexport const rehypeTabIcons: Plugin<[TabIconsOptions?], Root> = (\n options = {}\n) => {\n const resolve = createTabIconResolver(options);\n const { containerClass = `markdown-tabs` } = options;\n return (tree) => {\n visit(tree, `element`, (node) => {\n if (!hasClass(node, containerClass)) return;\n const [labelsRow] = childrenWithClass(node, `${containerClass}-labels`);\n const [panelsRow] = childrenWithClass(node, `${containerClass}-panels`);\n const labels = childrenWithClass(labelsRow, `${containerClass}-label`);\n const panels = childrenWithClass(panelsRow, `${containerClass}-panel`);\n for (const [index, label] of labels.entries()) {\n const panel = panels[index];\n const key =\n panel && `aria-label` in panel.properties\n ? `aria-label`\n : `ariaLabel`;\n const plain = panel?.properties[key];\n const {\n icon,\n marker,\n label: text\n } = resolve(typeof plain === `string` ? plain :
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Element, ElementContent, Root } from \"hast\";\nimport type { Plugin } from \"unified\";\nimport { visit } from \"unist-util-visit\";\nimport {\n createTabIconResolver,\n tabIconMarkup,\n type TabIconsOptions\n} from \"@mirrordown/core/tab-icons\";\n\nexport type { TabIcon, TabIconsOptions } from \"@mirrordown/core/tab-icons\";\n\nconst hasClass = (node: ElementContent | undefined, name: string): boolean => {\n if (node?.type !== `element`) return false;\n const value = node.properties.className ?? node.properties.class;\n return Array.isArray(value)\n ? value.includes(name)\n : typeof value === `string` && value.split(` `).includes(name);\n};\n\n// A group's own children with a class: its labels or panels (a group nested in a panel has its own).\nconst childrenWithClass = (\n parent: Element | undefined,\n name: string\n): Element[] =>\n (parent?.children ?? []).filter((child): child is Element =>\n hasClass(child, name)\n );\n\n/**\n * rehype plugin that adds an icon to each tab label of `@mirrordown/remd-tabs`: the one a `[!keyword]` marker at the start of the label names (`% [!npm] Install`), or, without a marker, the one the label's text matches (`% npm`, `% vite.config.ts`), as vitepress-plugin-group-icons matches code-group labels. The icon is an inline `<svg class=\"markdown-tab-icon\" aria-hidden=\"true\">` before the label's text, as a `raw` node, so it reaches the HTML exactly as the markdown-it and Sätteri plugins write it (stringify with `allowDangerousHtml`); the marker comes out of the label and the panel's `aria-label`. The matching and the icons are shared through `@mirrordown/core`.\n */\nexport const rehypeTabIcons: Plugin<[TabIconsOptions?], Root> = (\n options = {}\n) => {\n const resolve = createTabIconResolver(options);\n const { containerClass = `markdown-tabs` } = options;\n return (tree) => {\n visit(tree, `element`, (node) => {\n if (!hasClass(node, containerClass)) return;\n const [labelsRow] = childrenWithClass(node, `${containerClass}-labels`);\n const [panelsRow] = childrenWithClass(node, `${containerClass}-panels`);\n const labels = childrenWithClass(labelsRow, `${containerClass}-label`);\n const panels = childrenWithClass(panelsRow, `${containerClass}-panel`);\n for (const [index, label] of labels.entries()) {\n const panel = panels[index];\n const key =\n panel && `aria-label` in panel.properties\n ? `aria-label`\n : `ariaLabel`;\n const plain = panel?.properties[key];\n const first =\n label.children[0]?.type === `text` ? label.children[0] : undefined;\n // A keyword that is a defined abbreviation was wrapped by the abbr plugin, which splits the marker's text in three: `[!`, the abbreviation, and the text from `]` on. Read together they are the marker's text still.\n const [, abbr, after] = label.children;\n const term =\n abbr?.type === `element` &&\n abbr.tagName === `abbr` &&\n abbr.children.length === 1 &&\n abbr.children[0]?.type === `text`\n ? abbr.children[0]\n : undefined;\n const split =\n first?.value === `[!` &&\n abbr &&\n term &&\n after?.type === `text` &&\n after.value.startsWith(`]`)\n ? { abbr, after, lead: first.value + term.value + after.value }\n : undefined;\n const {\n icon,\n marker,\n label: text\n } = resolve(\n typeof plain === `string` ? plain : ``,\n split?.lead ?? first?.value ?? ``\n );\n if (marker && split) {\n split.after.value = split.lead.slice(marker.length);\n // A label that is only a marker reads as its keyword, which stays the abbreviation it is; otherwise the abbreviation goes with the marker.\n const only = label.children.length === 3 && split.after.value === ``;\n label.children.splice(\n 0,\n 3,\n ...(only ? [split.abbr] : []),\n ...(split.after.value ? [split.after] : [])\n );\n if (panel) panel.properties[key] = text;\n } else if (marker && first) {\n // A label that is only a marker reads as its keyword; one with markup after the marker keeps just that.\n first.value =\n first.value.slice(marker.length) ||\n (label.children.length === 1 ? text : ``);\n if (first.value === ``) label.children.shift();\n if (panel) panel.properties[key] = text;\n }\n if (icon) {\n // hast's types have no `raw` node without mdast-util-to-hast's augmentation, so the children are widened to take one.\n const children: Array<{ type: string; value?: string }> =\n label.children;\n children.unshift({ type: `raw`, value: tabIconMarkup(icon) });\n }\n }\n });\n };\n};\n"],"mappings":";;;AAWA,MAAM,YAAY,MAAkC,SAA0B;CAC5E,IAAI,MAAM,SAAS,WAAW,OAAO;CACrC,MAAM,QAAQ,KAAK,WAAW,aAAa,KAAK,WAAW;CAC3D,OAAO,MAAM,QAAQ,KAAK,IACtB,MAAM,SAAS,IAAI,IACnB,OAAO,UAAU,YAAY,MAAM,MAAM,GAAG,CAAC,CAAC,SAAS,IAAI;AACjE;AAGA,MAAM,qBACJ,QACA,UAEC,QAAQ,YAAY,CAAC,EAAA,CAAG,QAAQ,UAC/B,SAAS,OAAO,IAAI,CACtB;;;;AAKF,MAAa,kBACX,UAAU,CAAC,MACR;CACH,MAAM,UAAU,sBAAsB,OAAO;CAC7C,MAAM,EAAE,iBAAiB,oBAAoB;CAC7C,QAAQ,SAAS;EACf,MAAM,MAAM,YAAY,SAAS;GAC/B,IAAI,CAAC,SAAS,MAAM,cAAc,GAAG;GACrC,MAAM,CAAC,aAAa,kBAAkB,MAAM,GAAG,eAAe,QAAQ;GACtE,MAAM,CAAC,aAAa,kBAAkB,MAAM,GAAG,eAAe,QAAQ;GACtE,MAAM,SAAS,kBAAkB,WAAW,GAAG,eAAe,OAAO;GACrE,MAAM,SAAS,kBAAkB,WAAW,GAAG,eAAe,OAAO;GACrE,KAAK,MAAM,CAAC,OAAO,UAAU,OAAO,QAAQ,GAAG;IAC7C,MAAM,QAAQ,OAAO;IACrB,MAAM,MACJ,SAAS,gBAAgB,MAAM,aAC3B,eACA;IACN,MAAM,QAAQ,OAAO,WAAW;IAChC,MAAM,QACJ,MAAM,SAAS,EAAE,EAAE,SAAS,SAAS,MAAM,SAAS,KAAK,KAAA;IAE3D,MAAM,GAAG,MAAM,SAAS,MAAM;IAC9B,MAAM,OACJ,MAAM,SAAS,aACf,KAAK,YAAY,UACjB,KAAK,SAAS,WAAW,KACzB,KAAK,SAAS,EAAE,EAAE,SAAS,SACvB,KAAK,SAAS,KACd,KAAA;IACN,MAAM,QACJ,OAAO,UAAU,QACjB,QACA,QACA,OAAO,SAAS,UAChB,MAAM,MAAM,WAAW,GAAG,IACtB;KAAE;KAAM;KAAO,MAAM,MAAM,QAAQ,KAAK,QAAQ,MAAM;IAAM,IAC5D,KAAA;IACN,MAAM,EACJ,MACA,QACA,OAAO,SACL,QACF,OAAO,UAAU,WAAW,QAAQ,IACpC,OAAO,QAAQ,OAAO,SAAS,EACjC;IACA,IAAI,UAAU,OAAO;KACnB,MAAM,MAAM,QAAQ,MAAM,KAAK,MAAM,OAAO,MAAM;KAElD,MAAM,OAAO,MAAM,SAAS,WAAW,KAAK,MAAM,MAAM,UAAU;KAClE,MAAM,SAAS,OACb,GACA,GACA,GAAI,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,GAC3B,GAAI,MAAM,MAAM,QAAQ,CAAC,MAAM,KAAK,IAAI,CAAC,CAC3C;KACA,IAAI,OAAO,MAAM,WAAW,OAAO;IACrC,OAAO,IAAI,UAAU,OAAO;KAE1B,MAAM,QACJ,MAAM,MAAM,MAAM,OAAO,MAAM,MAC9B,MAAM,SAAS,WAAW,IAAI,OAAO;KACxC,IAAI,MAAM,UAAU,IAAI,MAAM,SAAS,MAAM;KAC7C,IAAI,OAAO,MAAM,WAAW,OAAO;IACrC;IACA,IAAI,MAIF,MADQ,SACC,QAAQ;KAAE,MAAM;KAAO,OAAO,cAAc,IAAI;IAAE,CAAC;GAEhE;EACF,CAAC;CACH;AACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirrordown/remd-tab-icons",
|
|
3
3
|
"description": "A rehype plugin to add icons to tab labels: matched from the label, or named with a [!keyword] marker.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Drake Costa <drake@saeris.io> (https://saeris.gg)",
|
|
7
7
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"./*.css": "./dist/*.css"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@mirrordown/core": "^0.
|
|
25
|
+
"@mirrordown/core": "^0.2.0",
|
|
26
26
|
"unist-util-visit": "^5.1.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|