@humanonlyweb/writer 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.
@@ -2,6 +2,10 @@
2
2
 
3
3
  > Changes in each release.
4
4
 
5
+ ## 0.2.1 (2026-11-23)
6
+
7
+ - fix: bare domains (example.com, www.example.com) become links again, as before comark 0.9: linkify is registered as a plugin with fuzzyLink, replacing the deprecated linkify option (0.2.1)
8
+
5
9
  ## 0.2.0 (2026-11-23)
6
10
 
7
11
  - feat: image cards' Replace and Remove take icons from the editor's image-replace and image-remove slots (copied into each card, built outside Vue), their words staying the accessible names; tests use the platform's Mod key and a Tab target Safari reaches, so the suite passes on macOS too (0.2.0)
package/dist/package.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // package.json
2
- var version = "0.2.0";
2
+ var version = "0.2.1";
3
3
  export { version };
package/dist/parse.js CHANGED
@@ -6,6 +6,7 @@ import attributes from "comark/plugins/attributes";
6
6
  import components from "comark/plugins/components";
7
7
  import footnotes from "comark/plugins/footnotes";
8
8
  import frontmatter from "comark/plugins/frontmatter";
9
+ import linkifyPlugin from "comark/plugins/linkify";
9
10
  import taskList from "comark/plugins/task-list";
10
11
  import toc from "comark/plugins/toc";
11
12
  // src/parse.ts
@@ -41,13 +42,13 @@ function createParser(options = {}) {
41
42
  const parser = createMarkdownParser({
42
43
  registerDefaultPlugins: false,
43
44
  autoUnwrap: false,
44
- linkify,
45
45
  plugins: [
46
46
  frontmatter(),
47
47
  components(),
48
48
  attributes(),
49
49
  taskList(),
50
50
  alert(),
51
+ ...linkify ? [linkifyPlugin({ fuzzyLink: true })] : [],
51
52
  ...contents ? [toc(contents === true ? {} : contents)] : [],
52
53
  ...notes ? [footnotes(notes === true ? {} : notes)] : [],
53
54
  ...highlight ? [highlighter(highlight === true ? {} : highlight)] : [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humanonlyweb/writer",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Markdown block editor and renderer for Vue and Nuxt: CodeMirror editing, Comark rendering, SSR-safe.",
5
5
  "keywords": [
6
6
  "a11y",