Xpersona
P

Preview Markdown

CLAWHUB · Unverified

Render and preview Markdown files in browser with GitHub-flavored formatting and syntax highlighting Skill: Preview Markdown Owner: veelenga Summary: Render and preview Markdown files in browser with GitHub-flavored formatting and syntax highlighting Tags: latest:0.1.0 Version history: v0.1.0 | 2026-01-28T10:40:58.946Z | auto Initial release of Preview Markdown Skill. - Render and preview Markdown files in the browser with GitHub-flavored formatting and syntax highlighting. - Supports features like automatic table o

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 4/15/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install kn72jpqfrv0k6qqc4y0khef3x980267t:preview-markdown
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-veelenga-preview-markdown/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

5,672 characters of source documentation, loaded on request.

Extracted files

2 files captured from the source.

SKILL.md

---
name: preview-markdown
description: Render and preview Markdown files in browser with GitHub-flavored formatting and syntax highlighting
user-invocable: true
commands:
  - preview
  - preview-markdown
---

# Preview Markdown Skill

GitHub-flavored Markdown viewer that generates beautiful HTML with syntax highlighting and automatic table of contents.

## Usage

```bash
# Preview a Markdown file
/preview README.md

# Pipe Markdown content (preferred for temporary content)
cat docs.md | /preview
echo "# Hello\n\nThis is **markdown**" | /preview

# With custom background color
/preview article.md --background "#ffffff"
```

**Best Practice:** For temporary or generated content, prefer piping over creating temporary files. This avoids cluttering your filesystem and the content is automatically cleaned up.

## Options

The script works with sensible defaults but supports these flags for flexibility:

- `-o, --output PATH` - Custom output path
- `--no-browser` - Skip browser, output file path only

## Features

- **GitHub-flavored Markdown** rendering with full spec support
- **Syntax highlighting** for code blocks (100+ languages)
- **Automatic TOC** generation from headers
- **Task lists** with checkboxes
- **Tables** with formatting
- **Images and links** fully supported
- **Math equations** (LaTeX via KaTeX)
- **Emoji** support
- **Footnotes** and references
- **Responsive design** adapts to screen size

## When to Use This Skill

Use this skill when the user wants to:

- Preview README or documentation files
- Read formatted Markdown documents
- Verify Markdown rendering before publishing
- Share formatted documentation
- Review pull request descriptions

## Examples

**Natural language requests:**

- "preview this README"
- "show me the documentation"
- "open the markdown file"
- "visualize CONTRIBUTING.md"
- "let me see the formatted docs"

## Technical Details

### File Requirements

- File extensions: `.md`, `.markdown`
- Maximum size: 10MB (configurable)
- Encoding: UTF-8

### Features in Detail

#### GitHub-Flavored Markdown

Supports all GitHub Markdown features:

- Headers (h1-h6)
- Bold, italic, strikethrough
- Ordered and unordered lists
- Code blocks with language specification
- Blockquotes
- Horizontal rules
- Links and images
- Tables

#### Syntax Highlighting

- Automatic language detection
- 100+ programming languages supported
- Theme: GitHub light/dark
- Line numbers optional
- Copy code button

#### Table of Contents

- Auto-generated from headers
- Clickable links to sections
- Hierarchical structure
- Sticky sidebar navigation

#### Task Lists

```markdown
- [x] Completed task
- [ ] Pending task
```

#### Tables

Full support for:

- Header rows
- Alignment (left, center, right)
- Multi-line cells
- Inline formatting

### Browser Compatibility

- Modern browsers (Chrome, Firefox, Safari, Edge)
- Requires JavaScript enabled
- CDN-dependent: Marked.js, DOMPurify, Mermaid (for diagrams in markdown)

## Output

The skill genera

_meta.json

{
  "ownerId": "kn72jpqfrv0k6qqc4y0khef3x980267t",
  "slug": "preview-markdown",
  "version": "0.1.0",
  "publishedAt": 1769596858946
}

Sponsored

Ads related to Preview Markdown and adjacent AI workflows.