@mirrordown/sat-abbr 0.2.0 → 0.2.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 CHANGED
@@ -1,6 +1,116 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+
5
+ ## 0.2.1
6
+ <sub>2026-11-17</sub>
7
+
8
+ - *(patch)*
9
+ Fixes that make remark and Sätteri find definitions and terms by the rules markdown-it uses, plus a hang in markdown-it. Several change what existing documents render in remark and Sätteri: which words a term matches, and what a title holds.
10
+
11
+ - **A term that starts or ends with a symbol or a non-ASCII letter is marked** (remark, Sätteri).
12
+
13
+ ```markdown
14
+ *[C++]: See plus plus
15
+ *[.NET]: dot net
16
+
17
+ Use C++ and .NET daily.
18
+ ```
19
+
20
+ Was plain text, no `<abbr>`. Now both terms are marked, as in markdown-it. The same goes for terms such as `日本` and `café`.
21
+
22
+ - **A definition whose title or term holds inline syntax is read** (remark, Sätteri).
23
+
24
+ ```markdown
25
+ *[HTML]: Hyper *Text* Markup
26
+
27
+ HTML
28
+ ```
29
+
30
+ Was the definition printed on the page (`*[HTML]: Hyper <em>Text</em> Markup`) and `HTML` left unmarked. Now `<abbr title="Hyper *Text* Markup">HTML</abbr>`, as in markdown-it. The same goes for a title holding a URL, code or raw HTML, a term such as `a*b`, and two definitions separated by a hard line break.
31
+
32
+ - **A term directly against a letter of another script, a tab or a symbol such as `™` is no longer marked** (remark, Sätteri).
33
+
34
+ ```markdown
35
+ *[HTML]: Hyper
36
+
37
+ これはHTMLです
38
+ ```
39
+
40
+ Was `これは<abbr title="Hyper">HTML</abbr>です`. Now no `<abbr>`, as in markdown-it. `HTML™` and `HTMLé` are no longer marked either, and an underscore now counts as a boundary: `foo_HTML` is marked.
41
+
42
+ - **A title is the rest of the line as written** (remark, Sätteri).
43
+
44
+ ```markdown
45
+ *[RD]: Research &amp; Development
46
+
47
+ RD
48
+ ```
49
+
50
+ Was a title reading `Research & Development`. Now the title reads `Research &amp; Development`, as in markdown-it: character references and backslash escapes in a title are not decoded.
51
+
52
+ - **An escaped delimiter after an abbreviation stays text** (remark, Sätteri, with a span plugin such as mark).
53
+
54
+ ```markdown
55
+ *[HTML]: Hyper Text
56
+
57
+ HTML \==a==
58
+ ```
59
+
60
+ Was `<abbr title="Hyper Text">HTML</abbr> <mark>a</mark>`. Now `<abbr title="Hyper Text">HTML</abbr> ==a==`, as in markdown-it.
61
+
62
+ - **The space around a term and a title is dropped, and a blank term or title is no definition** (all engines).
63
+
64
+ ```markdown
65
+ *[ HTML ]: t
66
+
67
+ x HTML y
68
+ ```
69
+
70
+ Was no `<abbr>` in markdown-it, and `x<abbr title="t"> HTML </abbr>y` in remark and Sätteri. Now `x <abbr title="t">HTML</abbr> y` in all three. `*[ ]: x` used to mark single spaces; it is now ordinary text.
71
+
72
+ - **Definitions on CRLF lines are read** (remark, Sätteri). A paragraph of two or more definitions saved with Windows line endings was printed instead of read.
73
+
74
+ - **A term written with an escape or a character reference is found, and one does not act as a word boundary** (markdown-it).
75
+
76
+ ```markdown
77
+ *[AT&T]: telco
78
+
79
+ AT&amp;T
80
+ ```
81
+
82
+ Was no `<abbr>`. Now `<abbr title="telco">AT&amp;T</abbr>`, as in remark and Sätteri. In the other direction, with `HTML` defined, `HTML&#65;` renders `HTMLA` and is no longer marked.
83
+
84
+ - **An escaped asterisk does not start a definition** (remark, Sätteri).
85
+
86
+ ```markdown
87
+ \*[X]: t
88
+ ```
89
+
90
+ Was a definition. Now the text `*[X]: t`, as in markdown-it.
91
+
92
+ - **A definition named after a built-in object property no longer hangs the render** (markdown-it).
93
+
94
+ ```markdown
95
+ *[_proto__]: x
96
+
97
+ (see) this
98
+ ```
99
+
100
+ Was an endless loop until memory ran out. Now `<p>(see) this</p>`.
101
+
102
+ - **A line that is not a valid definition does not split the paragraph it is in** (markdown-it).
103
+
104
+ ```markdown
105
+ foo
106
+ *[X]:
107
+ bar
108
+ ```
109
+
110
+ Was two paragraphs, the second starting at `*[X]:`. Now one paragraph, as in remark and Sätteri.
111
+
112
+ The guide now says what a definition is and where a term is marked, and lists the differences between engines that remain.
113
+
4
114
  ## 0.2.0
5
115
  <sub>2026-11-11</sub>
6
116
 
package/README.md CHANGED
@@ -6,7 +6,7 @@ A Sätteri plugin for the `abbr` syntax extension.
6
6
 
7
7
  ## Overview
8
8
 
9
- The `abbr` plugin lets you define abbreviations once and automatically wraps every occurrence in an `<abbr>` element with a `title` attribute for the full expansion.
9
+ The `abbr` plugin lets you define abbreviations once and automatically wraps each place the term stands as a word of its own in an `<abbr>` element with a `title` attribute for the full expansion.
10
10
 
11
11
  ```html
12
12
  <abbr title="HyperText Markup Language">HTML</abbr>
@@ -14,7 +14,7 @@ The `abbr` plugin lets you define abbreviations once and automatically wraps eve
14
14
 
15
15
  ## Syntax
16
16
 
17
- Define abbreviations anywhere in the document using the `*[ABBR]: Full text` syntax. Definitions are removed from the output and all matching words are wrapped automatically.
17
+ Define abbreviations using the `*[ABBR]: Full text` syntax, before or after the text that uses them. Definitions are removed from the output and matching words are wrapped automatically.
18
18
 
19
19
  ````markdown
20
20
  *[HTML]: HyperText Markup Language
@@ -23,6 +23,19 @@ Define abbreviations anywhere in the document using the `*[ABBR]: Full text` syn
23
23
  Write HTML and CSS as normal — they are automatically expanded with tooltips.
24
24
  ````
25
25
 
26
+ Write definitions in a paragraph of their own, one per line, with a blank line before and after. A definition can come after the places that use its term, and the first definition of a term wins.
27
+
28
+ The title is the rest of the line exactly as written: formatting, character references and backslashes in it are not read. The space around the term and around the title is dropped, and a line that leaves either one blank is ordinary text. A backslash puts a bracket in a term (`*[a\]b]: …`), and a backslash before the asterisk (`\*[HTML]: …`) keeps the whole line as text.
29
+
30
+ A term is marked where it stands as a word of its own: with the start or end of the text, a space, a line ending, punctuation, or one of `$ + < = > ^ | ~` and the backtick on each side. So `HTML` is marked in `(HTML)`, `HTML-5` and `foo_HTML`, and not in `HTML5`, `HTMLé` or `HTML™`. A term can start or end with any character (`C++`, `.NET`, `日本`), terms are case-sensitive, and where two terms start at the same place the longer one wins. Code and image alt text are left alone. A term is looked for in plain text only, so one that holds inline syntax is defined and never marked: after `*[H~2~O]: water` with the sub plugin on, `H~2~O` is a subscript and not an abbreviation.
31
+
32
+ A few things differ between the engines:
33
+
34
+ - markdown-it also takes a definition line written directly against other text, with no blank line between them: a line of a paragraph, the line before a setext underline or before an own-line attribute block (`{.name}`), the line right under an alert's marker. remark and Sätteri show that line as text.
35
+ - markdown-it takes its list of punctuation characters from its own tables, and remark and Sätteri take theirs from the JavaScript runtime, so a punctuation character added to Unicode recently can end a word in one and not in the other.
36
+ - The remark plugin reads definitions from the source, so it needs the file: with `processor.runSync(tree)` on a tree alone it reads each paragraph's text instead, where a title holding formatting is not a definition.
37
+ - In remark, list `remarkAbbr` after the ruby, attrs and alerts plugins, and in Sätteri list `satteriAbbr()` after the ruby and alerts plugins, as the presets do. Listed before them, a term is marked inside an attribute block (`{.HTML}` then stays text in remark), an alert whose keyword is a term (`> [!NOTE]` with `*[NOTE]: …`) stays a blockquote, and a ruby loses the abbreviations inside it in remark and is not read at all in Sätteri. In markdown-it the order doesn't matter.
38
+
26
39
  ## Install
27
40
 
28
41
  ```sh
package/dist/index.d.mts CHANGED
@@ -6,11 +6,14 @@ type BeforeHook = NonNullable<MdastPluginInstance["before"]>;
6
6
  */
7
7
  export interface AbbrPlugin {
8
8
  name: string;
9
+ options: {
10
+ position: boolean;
11
+ };
9
12
  before: (...args: Parameters<BeforeHook>) => void;
10
13
  text: (...args: Parameters<TextVisitor>) => void;
11
14
  }
12
15
  /**
13
- * Sätteri plugin for abbreviations: a paragraph of `*[term]: definition` lines defines them (and is removed), and each defined term elsewhere renders as `<abbr title="definition">`. The definition and term rules are shared with the markdown-it and remark plugins through `@mirrordown/core`.
16
+ * Sätteri plugin for abbreviations: a paragraph of `*[term]: definition` lines defines them (and is removed), and each defined term elsewhere renders as `<abbr title="definition">`. The definition and term rules are shared with the remark plugin through `@mirrordown/core`, and follow the markdown-it plugin's.
14
17
  */
15
18
  export declare const satteriAbbr: () => ((ctx: PluginFactoryContext) => AbbrPlugin);
16
19
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";KAQK,cAAc,YAAY;KAC1B,aAAa,YAAY;;;;iBAKb;EACf;EACA,YAAY,MAAM,WAAW;EAC7B,UAAU,MAAM,WAAW;;;;;qBAMhB,qBACL,KAAK,yBAAyB"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";KAaK,cAAc,YAAY;KAC1B,aAAa,YAAY;;;;iBAKb;EACf;EACA;IAAW;;EACX,YAAY,MAAM,WAAW;EAC7B,UAAU,MAAM,WAAW;;;;;qBAMhB,qBACL,KAAK,yBAAyB"}
package/dist/index.mjs CHANGED
@@ -1,20 +1,23 @@
1
- import { createAbbreviationScan, parseAbbreviations } from "@mirrordown/core";
1
+ import { carryEscapes, createAbbreviationScan, parseAbbreviations, textEscapes } from "@mirrordown/core";
2
2
  import { defineMdastPlugin } from "satteri";
3
3
  // src/index.ts
4
4
  /**
5
- * Sätteri plugin for abbreviations: a paragraph of `*[term]: definition` lines defines them (and is removed), and each defined term elsewhere renders as `<abbr title="definition">`. The definition and term rules are shared with the markdown-it and remark plugins through `@mirrordown/core`.
5
+ * Sätteri plugin for abbreviations: a paragraph of `*[term]: definition` lines defines them (and is removed), and each defined term elsewhere renders as `<abbr title="definition">`. The definition and term rules are shared with the remark plugin through `@mirrordown/core`, and follow the markdown-it plugin's.
6
6
  */
7
- const satteriAbbr = () => () => {
7
+ const satteriAbbr = () => ({ source }) => {
8
8
  let scan;
9
9
  return defineMdastPlugin({
10
10
  name: `abbr`,
11
+ options: { position: true },
11
12
  before(root, ctx) {
12
13
  const abbreviations = /* @__PURE__ */ new Map();
13
14
  const walk = (node) => {
14
15
  if (!(`children` in node)) return;
15
16
  if (node.type === `paragraph`) {
16
17
  const [only] = node.children;
17
- const definitions = node.children.length === 1 && only?.type === `text` && typeof only.value === `string` ? parseAbbreviations(only.value) : void 0;
18
+ const start = node.position?.start.offset;
19
+ const end = node.position?.end.offset;
20
+ const definitions = parseAbbreviations(node.children.length === 1 && only?.type === `text` && typeof only.value === `string` ? only.value : void 0, start !== void 0 && end !== void 0 ? source.slice(start, end) : void 0);
18
21
  if (definitions) {
19
22
  for (const [term, title] of definitions) if (!abbreviations.has(term)) abbreviations.set(term, title);
20
23
  ctx.removeNode(node);
@@ -29,19 +32,23 @@ const satteriAbbr = () => () => {
29
32
  text(node, ctx) {
30
33
  const parts = scan?.(node.value);
31
34
  if (!parts) return;
32
- ctx.replaceNode(node, parts.map((part) => `text` in part ? {
33
- type: `text`,
34
- value: part.text
35
- } : {
36
- type: `abbr`,
37
- data: {
38
- hName: `abbr`,
39
- hProperties: { title: part.title }
40
- },
41
- children: [{
35
+ const escaped = textEscapes(node, source);
36
+ let offset = 0;
37
+ ctx.replaceNode(node, parts.map((part) => {
38
+ const text = {
42
39
  type: `text`,
43
- value: part.term
44
- }]
40
+ value: `text` in part ? part.text : part.term
41
+ };
42
+ carryEscapes(text, escaped, offset);
43
+ offset += text.value.length;
44
+ return `text` in part ? text : {
45
+ type: `abbr`,
46
+ data: {
47
+ hName: `abbr`,
48
+ hProperties: { title: part.title }
49
+ },
50
+ children: [text]
51
+ };
45
52
  }));
46
53
  }
47
54
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { createAbbreviationScan, parseAbbreviations } from \"@mirrordown/core\";\nimport {\n defineMdastPlugin,\n type MdastPluginInstance,\n type MdastTarget,\n type PluginFactoryContext\n} from \"satteri\";\n\ntype TextVisitor = NonNullable<MdastPluginInstance[\"text\"]>;\ntype BeforeHook = NonNullable<MdastPluginInstance[\"before\"]>;\n\n/**\n * The plugin's definition: only the keys it defines, with synchronous visitors, so `markdownToHtml` returns its result directly.\n */\nexport interface AbbrPlugin {\n name: string;\n before: (...args: Parameters<BeforeHook>) => void;\n text: (...args: Parameters<TextVisitor>) => void;\n}\n\n/**\n * Sätteri plugin for abbreviations: a paragraph of `*[term]: definition` lines defines them (and is removed), and each defined term elsewhere renders as `<abbr title=\"definition\">`. The definition and term rules are shared with the markdown-it and remark plugins through `@mirrordown/core`.\n */\nexport const satteriAbbr =\n (): ((ctx: PluginFactoryContext) => AbbrPlugin) => () => {\n let scan: ReturnType<typeof createAbbreviationScan> | undefined;\n return defineMdastPlugin({\n name: `abbr`,\n // Definitions can follow their uses, so they are all collected before any text is visited.\n before(root, ctx) {\n const abbreviations = new Map<string, string>();\n const walk = (node: MdastTarget): void => {\n if (!(`children` in node)) return;\n if (node.type === `paragraph`) {\n const [only] = node.children;\n const definitions =\n node.children.length === 1 &&\n only?.type === `text` &&\n typeof only.value === `string`\n ? parseAbbreviations(only.value)\n : undefined;\n if (definitions) {\n // The first definition of a term wins.\n for (const [term, title] of definitions) {\n if (!abbreviations.has(term)) abbreviations.set(term, title);\n }\n ctx.removeNode(node);\n }\n return;\n }\n node.children.forEach(walk);\n };\n walk(root);\n scan =\n abbreviations.size > 0\n ? createAbbreviationScan(abbreviations)\n : undefined;\n },\n text(node, ctx) {\n const parts = scan?.(node.value);\n if (!parts) return;\n ctx.replaceNode(\n node,\n parts.map((part): MdastTarget =>\n `text` in part\n ? { type: `text`, value: part.text }\n : {\n type: `abbr`,\n data: { hName: `abbr`, hProperties: { title: part.title } },\n children: [{ type: `text`, value: part.term }]\n }\n )\n );\n }\n });\n };\n"],"mappings":";;;;;;AAuBA,MAAa,0BAC8C;CACvD,IAAI;CACJ,OAAO,kBAAkB;EACvB,MAAM;EAEN,OAAO,MAAM,KAAK;GAChB,MAAM,gCAAgB,IAAI,IAAoB;GAC9C,MAAM,QAAQ,SAA4B;IACxC,IAAI,EAAE,cAAc,OAAO;IAC3B,IAAI,KAAK,SAAS,aAAa;KAC7B,MAAM,CAAC,QAAQ,KAAK;KACpB,MAAM,cACJ,KAAK,SAAS,WAAW,KACzB,MAAM,SAAS,UACf,OAAO,KAAK,UAAU,WAClB,mBAAmB,KAAK,KAAK,IAC7B,KAAA;KACN,IAAI,aAAa;MAEf,KAAK,MAAM,CAAC,MAAM,UAAU,aAC1B,IAAI,CAAC,cAAc,IAAI,IAAI,GAAG,cAAc,IAAI,MAAM,KAAK;MAE7D,IAAI,WAAW,IAAI;KACrB;KACA;IACF;IACA,KAAK,SAAS,QAAQ,IAAI;GAC5B;GACA,KAAK,IAAI;GACT,OACE,cAAc,OAAO,IACjB,uBAAuB,aAAa,IACpC,KAAA;EACR;EACA,KAAK,MAAM,KAAK;GACd,MAAM,QAAQ,OAAO,KAAK,KAAK;GAC/B,IAAI,CAAC,OAAO;GACZ,IAAI,YACF,MACA,MAAM,KAAK,SACT,UAAU,OACN;IAAE,MAAM;IAAQ,OAAO,KAAK;GAAK,IACjC;IACE,MAAM;IACN,MAAM;KAAE,OAAO;KAAQ,aAAa,EAAE,OAAO,KAAK,MAAM;IAAE;IAC1D,UAAU,CAAC;KAAE,MAAM;KAAQ,OAAO,KAAK;IAAK,CAAC;GAC/C,CACN,CACF;EACF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import {\n carryEscapes,\n createAbbreviationScan,\n parseAbbreviations,\n textEscapes\n} from \"@mirrordown/core\";\nimport {\n defineMdastPlugin,\n type MdastPluginInstance,\n type MdastTarget,\n type PluginFactoryContext\n} from \"satteri\";\n\ntype TextVisitor = NonNullable<MdastPluginInstance[\"text\"]>;\ntype BeforeHook = NonNullable<MdastPluginInstance[\"before\"]>;\n\n/**\n * The plugin's definition: only the keys it defines, with synchronous visitors, so `markdownToHtml` returns its result directly.\n */\nexport interface AbbrPlugin {\n name: string;\n options: { position: boolean };\n before: (...args: Parameters<BeforeHook>) => void;\n text: (...args: Parameters<TextVisitor>) => void;\n}\n\n/**\n * Sätteri plugin for abbreviations: a paragraph of `*[term]: definition` lines defines them (and is removed), and each defined term elsewhere renders as `<abbr title=\"definition\">`. The definition and term rules are shared with the remark plugin through `@mirrordown/core`, and follow the markdown-it plugin's.\n */\nexport const satteriAbbr =\n (): ((ctx: PluginFactoryContext) => AbbrPlugin) =>\n ({ source }) => {\n let scan: ReturnType<typeof createAbbreviationScan> | undefined;\n return defineMdastPlugin({\n name: `abbr`,\n // Positions give a definition paragraph its source, and let the pieces of a split text node keep which characters were escaped.\n options: { position: true },\n // Definitions can follow their uses, so they are all collected before any text is visited.\n before(root, ctx) {\n const abbreviations = new Map<string, string>();\n const walk = (node: MdastTarget): void => {\n if (!(`children` in node)) return;\n if (node.type === `paragraph`) {\n const [only] = node.children;\n const start = node.position?.start.offset;\n const end = node.position?.end.offset;\n // A definition is read from its source line, as markdown-it reads it, so inline syntax in a title does not make the line text. A paragraph another plugin built has no position: there its text is read.\n const definitions = parseAbbreviations(\n node.children.length === 1 &&\n only?.type === `text` &&\n typeof only.value === `string`\n ? only.value\n : undefined,\n start !== undefined && end !== undefined\n ? source.slice(start, end)\n : undefined\n );\n if (definitions) {\n // The first definition of a term wins.\n for (const [term, title] of definitions) {\n if (!abbreviations.has(term)) abbreviations.set(term, title);\n }\n ctx.removeNode(node);\n }\n return;\n }\n node.children.forEach(walk);\n };\n walk(root);\n scan =\n abbreviations.size > 0\n ? createAbbreviationScan(abbreviations)\n : undefined;\n },\n text(node, ctx) {\n const parts = scan?.(node.value);\n if (!parts) return;\n // The pieces have no source position, so each keeps a record of which of its characters were escaped: a span plugin that runs later still tells `\\==` from `==`.\n const escaped = textEscapes(node, source);\n let offset = 0;\n ctx.replaceNode(\n node,\n parts.map((part): MdastTarget => {\n const text = {\n type: `text` as const,\n value: `text` in part ? part.text : part.term\n };\n carryEscapes(text, escaped, offset);\n offset += text.value.length;\n return `text` in part\n ? text\n : {\n type: `abbr`,\n data: { hName: `abbr`, hProperties: { title: part.title } },\n children: [text]\n };\n })\n );\n }\n });\n };\n"],"mappings":";;;;;;AA6BA,MAAa,qBAEV,EAAE,aAAa;CACd,IAAI;CACJ,OAAO,kBAAkB;EACvB,MAAM;EAEN,SAAS,EAAE,UAAU,KAAK;EAE1B,OAAO,MAAM,KAAK;GAChB,MAAM,gCAAgB,IAAI,IAAoB;GAC9C,MAAM,QAAQ,SAA4B;IACxC,IAAI,EAAE,cAAc,OAAO;IAC3B,IAAI,KAAK,SAAS,aAAa;KAC7B,MAAM,CAAC,QAAQ,KAAK;KACpB,MAAM,QAAQ,KAAK,UAAU,MAAM;KACnC,MAAM,MAAM,KAAK,UAAU,IAAI;KAE/B,MAAM,cAAc,mBAClB,KAAK,SAAS,WAAW,KACvB,MAAM,SAAS,UACf,OAAO,KAAK,UAAU,WACpB,KAAK,QACL,KAAA,GACJ,UAAU,KAAA,KAAa,QAAQ,KAAA,IAC3B,OAAO,MAAM,OAAO,GAAG,IACvB,KAAA,CACN;KACA,IAAI,aAAa;MAEf,KAAK,MAAM,CAAC,MAAM,UAAU,aAC1B,IAAI,CAAC,cAAc,IAAI,IAAI,GAAG,cAAc,IAAI,MAAM,KAAK;MAE7D,IAAI,WAAW,IAAI;KACrB;KACA;IACF;IACA,KAAK,SAAS,QAAQ,IAAI;GAC5B;GACA,KAAK,IAAI;GACT,OACE,cAAc,OAAO,IACjB,uBAAuB,aAAa,IACpC,KAAA;EACR;EACA,KAAK,MAAM,KAAK;GACd,MAAM,QAAQ,OAAO,KAAK,KAAK;GAC/B,IAAI,CAAC,OAAO;GAEZ,MAAM,UAAU,YAAY,MAAM,MAAM;GACxC,IAAI,SAAS;GACb,IAAI,YACF,MACA,MAAM,KAAK,SAAsB;IAC/B,MAAM,OAAO;KACX,MAAM;KACN,OAAO,UAAU,OAAO,KAAK,OAAO,KAAK;IAC3C;IACA,aAAa,MAAM,SAAS,MAAM;IAClC,UAAU,KAAK,MAAM;IACrB,OAAO,UAAU,OACb,OACA;KACE,MAAM;KACN,MAAM;MAAE,OAAO;MAAQ,aAAa,EAAE,OAAO,KAAK,MAAM;KAAE;KAC1D,UAAU,CAAC,IAAI;IACjB;GACN,CAAC,CACH;EACF;CACF,CAAC;AACH"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mirrordown/sat-abbr",
3
3
  "description": "A Sätteri plugin for abbreviations (*[term]: definition), rendering <abbr> elements.",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "license": "MIT",
6
6
  "author": "Drake Costa <drake@saeris.io> (https://saeris.gg)",
7
7
  "repository": {
@@ -20,7 +20,7 @@
20
20
  }
21
21
  },
22
22
  "dependencies": {
23
- "@mirrordown/core": "^0.1.4"
23
+ "@mirrordown/core": "^0.2.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "satteri": "^0.11.6"