document

Display and edit Markdown documents with text selection and diff highlighting.

1.5k|142|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/dvdsgl/claude-canvas --skill document-dvdsgl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document
Source: https://github.com/dvdsgl/claude-canvas/tree/main/canvas/skills/document
Command: npx skills add https://github.com/dvdsgl/claude-canvas --skill document-dvdsgl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Document Canvas provides a focused interface for displaying and editing Markdown content with optional text selection and diff highlighting, enabling users to view documents, emails, or notes in a terminal UI.

Core Features & Use Cases

  • Read-only display of Markdown with proper rendering.
  • Interactive editing with text selection and real-time IPC updates.
  • Email-preview support and in-context document editing.
  • Diff highlighting to show additions and deletions.
  • API usage for programmatic display and editing actions.

Quick Start

Use the document skill to display or edit a Markdown document via the CLI: bun run src/cli.ts show document --scenario display --config '{ "content": "# Hello World\n\nThis is markdown content.", "title": "My Document" }'

Frequently Asked Questions about document

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I display and edit Markdown documents in a terminal UI?

To display and edit Markdown documents in a terminal UI, use a document canvas interface that renders content with optional text selection and diff highlighting. You can pass content and title directly through CLI configuration.

Can I highlight text additions and deletions when editing Markdown?

Yes, you can highlight text additions and deletions when editing Markdown using diff highlighting. This visually distinguishes changes in real-time as you interactively edit emails, drafts, or notes.

What is the best way to preview emails and drafts with text selection in a CLI?

The best way to preview emails and drafts with text selection in a CLI is using a document canvas that supports read-only display and interactive editing. It renders Markdown content while exposing precise text selection capabilities.

Does this Markdown editing approach support real-time IPC updates?

Yes, this Markdown editing approach supports real-time IPC updates during interactive editing. It enables immediate data synchronization across the terminal interface when text selections or document modifications occur.

Can I use an API to programmatically control document display and edit actions?

Yes, you can use an API to programmatically control document display and edit actions. The interface exposes programmatic endpoints for rendering Markdown, triggering edits, and extracting diff data.

When should I use a terminal-based Markdown editor instead of a standard text viewer?

You should use a terminal-based Markdown editor instead of a standard text viewer when you need precise in-context text selection, real-time diff highlighting, and interactive editing for README files or drafts.