md-render

Use when asked to render, preview, or view a markdown file in the browser. Triggers on "render markdown", "preview this", "show me this document", "open in browser".

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "md-render" with this command: npx skills add hjewkes/agent-skills/hjewkes-agent-skills-md-render

Markdown Renderer

Render markdown files as beautiful dark-mode HTML and open them in the browser. Designed for viewing agent-generated documents (design docs, plans, reports).

Quick Reference

SituationAction
User asks to render/preview markdownRun md-render <file>
User wants HTML output savedRun md-render <file> -o output.html
User wants to customize stylingEdit ~/.config/agent-skills/md-render/config.json
User asks to pipe markdownecho "# Title" | md-render -

CLI Reference

CommandDescription
md-render file.mdRender and open in browser
md-render - < file.mdRender from stdin
md-render file.md -o out.htmlSave HTML to file
md-render file.md --no-openGenerate HTML without opening browser
md-render -c path.json file.mdUse alternate config
md-render --helpShow usage

Exit codes: 0 = success, 1 = error

Rendering Features

  • Dark-mode aesthetic with configurable colors, fonts, and sizing
  • Collapsible table of contents (inline and slide-out panel)
  • Syntax-highlighted code blocks with copy-to-clipboard button
  • Copy full markdown source button (top-right)
  • Clickable heading anchors (hover to reveal)
  • Mermaid diagram rendering (flowcharts, sequence diagrams, state diagrams, pie charts)
  • Task list checkboxes, footnotes, ==highlights==, subscript/super^script^
  • Emoji shortcodes (:rocket: :white_check_mark:)
  • Custom attributes via {#id .class}
  • Responsive layout
  • Self-contained HTML (mermaid uses CDN when enabled)

Configuration

Config location: ~/.config/agent-skills/md-render/config.json

Created automatically on first run from defaults. Edit to customize:

  • theme — colors, fonts, sizing, max-width
  • features — toggle toc, syntax highlighting, heading anchors, mermaid, browser open

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

self-improve

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

skills-management

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

agent-browser

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

frontend-design

No summary provided by upstream source.

Repository SourceNeeds Review