comark-ui 0.7.2 → 0.7.5

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.
Files changed (47) hide show
  1. package/README.md +2 -2
  2. package/dist/{editor-BAdok66p.mjs → editor-DmxNPK7K.mjs} +522 -68
  3. package/dist/{editor-CNivEuMH.d.mts → editor-KD97dL_1.d.mts} +21 -3
  4. package/dist/editor-vue.d.mts +1 -1
  5. package/dist/editor-vue.mjs +1 -1
  6. package/dist/editor.d.mts +2 -2
  7. package/dist/editor.mjs +1 -1
  8. package/dist/html.d.mts +1 -1
  9. package/dist/html.mjs +3 -1
  10. package/dist/{index-jkwx6SyG.d.mts → index-Dbqxt4Qg.d.mts} +10 -2
  11. package/dist/index.d.mts +1 -1
  12. package/dist/index.mjs +1 -1
  13. package/dist/react.d.mts +2 -2
  14. package/dist/react.mjs +2 -2
  15. package/dist/skills/before-after-evidence/SKILL.md +72 -0
  16. package/dist/skills/before-after-evidence/agents/openai.yaml +3 -0
  17. package/dist/skills/before-after-evidence/references/blocks.md +54 -0
  18. package/dist/skills/before-after-evidence/references/example.md +37 -0
  19. package/dist/skills/before-after-evidence/references/measuring.md +50 -0
  20. package/dist/skills/comark-ui/SKILL.md +8 -1
  21. package/dist/skills/comark-ui/references/annotate.md +5 -3
  22. package/dist/skills/comark-ui/references/comments.md +43 -0
  23. package/dist/skills/comark-ui/references/lint.md +1 -1
  24. package/dist/skills/comark-ui/references/media.md +2 -2
  25. package/dist/skills/comark-ui/references/quiz.md +1 -1
  26. package/dist/skills/comark-ui/references/ui.md +3 -2
  27. package/dist/skills/comark-ui/references/zoom.md +1 -1
  28. package/dist/skills/review-document/SKILL.md +64 -0
  29. package/dist/skills/review-document/agents/openai.yaml +3 -0
  30. package/dist/skills/review-document/references/blocks.md +69 -0
  31. package/dist/skills/review-document/references/example.md +51 -0
  32. package/dist/skills/teach-lesson/SKILL.md +78 -0
  33. package/dist/skills/teach-lesson/agents/openai.yaml +3 -0
  34. package/dist/skills/teach-lesson/references/blocks.md +91 -0
  35. package/dist/skills/teach-lesson/references/example.md +70 -0
  36. package/dist/skills/visual-explanation/SKILL.md +67 -0
  37. package/dist/skills/visual-explanation/agents/openai.yaml +3 -0
  38. package/dist/skills/visual-explanation/references/blocks.md +89 -0
  39. package/dist/skills/visual-explanation/references/example.md +25 -0
  40. package/dist/skills.d.mts +18 -0
  41. package/dist/skills.mjs +326 -0
  42. package/dist/{src-DROB05U6.mjs → src-PkmYCSNu.mjs} +1 -0
  43. package/dist/svelte/index.d.ts +1 -1
  44. package/dist/svelte/index.js +1 -1
  45. package/dist/vue.d.mts +2 -2
  46. package/dist/vue.mjs +2 -2
  47. package/package.json +46 -44
package/README.md CHANGED
@@ -50,7 +50,7 @@ Vue, React, and Svelte leave out annotate and diff, which render only to HTML.
50
50
 
51
51
  | Export | What it does |
52
52
  | --- | --- |
53
- | `ComarkKit` | The schema: StarterKit, task lists, inline images (drawn as players for video and audio), tables, and Comark's components, slots, and comments, each keeping the attributes it has no field for. |
53
+ | `ComarkKit` | The schema: StarterKit, task lists, inline images (drawn as players for video and audio), tables, footnotes, definition lists, CriticMarkup, and Comark's components, slots, and comments, each keeping the attributes it has no field for. |
54
54
  | `fromMarkdown`, `toMarkdown` | Convert between Markdown and the editor's JSON with Comark's own parser and writer. Front matter stays beside the document. |
55
55
  | `checkMarkdown(markdown, { plugins })` | Whether the editor can save the document without changing what readers see, judged with the plugins the page renders with. A document it can't keep opens read-only. |
56
56
  | `Upload` | Uploads pasted and dropped files. Each shows a placeholder with its progress until `upload(file, progress)` returns its URL. The placeholder is a decoration, so a collaborative document never holds a file that hasn't arrived. |
@@ -60,7 +60,7 @@ Vue, React, and Svelte leave out annotate and diff, which render only to HTML.
60
60
 
61
61
  ## Agents
62
62
 
63
- The package ships the [comark-ui agent skill](https://github.com/onmax/comark-ui/tree/main/skills/comark-ui): a `SKILL.md` that says how to install the plugins, which block shows what, and how to check the result, and a reference for each package. Install it with `npx skills add onmax/comark-ui`, or bundle it in your own app from `comark-ui/skills/comark-ui/`, which always matches the plugins it installed.
63
+ The package ships the [comark-ui agent skill](https://github.com/onmax/comark-ui/tree/main/skills/comark-ui): a `SKILL.md` that says how to install the plugins, which block shows what, and how to check the result, and a reference for each package. Install it with `vp dlx skills add onmax/comark-ui`, link it from `node_modules` with `vp dlx skills experimental_sync` (experimental), or bundle it in your own app from `comark-ui/skills/comark-ui/`, which always matches the plugins it installed. `vp` comes with [Vite+](https://viteplus.dev/guide/global-cli); without it, `pnpm dlx` takes the same arguments.
64
64
 
65
65
  ## Linting
66
66