@youtyan/code-viewer 0.9.1 → 0.10.0

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/README.md CHANGED
@@ -39,9 +39,19 @@ Requires Node.js 20 or newer when installed from npm. Development uses
39
39
  too, without needing a `docker-compose.yml`.
40
40
  Table descriptions appear inside expanded table entries and in the Schema
41
41
  tab header when the database provides them.
42
- - Read the built-in Help page for getting started, the `.code-viewer/`
43
- project files, AI annotations, datastores, the agent skill, and
44
- keybindings.
42
+ - Read the built-in Help page (last item in the header menu) for getting
43
+ started, the `.code-viewer/` project files, AI annotations, datastores,
44
+ the agent skill, and keybindings.
45
+ - Scratch on pasted text without leaving the current screen with the Tools
46
+ drawer (the `Tools` item in the header menu, or `?tools=<tool>` on any
47
+ URL): Markdown
48
+ preview (same renderer as file preview, so table of contents, task lists,
49
+ frontmatter, code highlighting and ` ```mermaid ` fences all work),
50
+ Mermaid preview with zoom and drag-pan, and a JSON / YAML tool that
51
+ auto-detects the input and re-emits it as formatted JSON or YAML (also a
52
+ validator and a JSON⇄YAML converter). Each tool keeps its own draft in
53
+ `.code-viewer/tools.json`, and the drawer width is draggable from its left
54
+ edge.
45
55
  - Inspect the runtime with the Environment Doctor (right-side sheet,
46
56
  toggled by the 🩺 icon in the header): runtime (Node / Bun / ABI),
47
57
  `@youtyan/code-viewer` version and execution origin (npx cache vs