Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

md-to-pagemd 到页面

Agent Skill

md-to-page 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,255

周安装

436

GitHub Stars

公开资料未说明

下载量

3,593
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:md-to-page(md 到页面)
来源仓库:https://github.com/lz-web3/md-to-page
安装命令:
openclaw skills install md-to-page
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install md-to-page

简介

将 Markdown 文件转换为带有深色/浅色主题、动画和丰富的网页文章指令组件的样式化、可滚动的宽屏 HTML 页面。

SKILL.md

name
md-to-page
description
Convert Markdown files into beautiful, scrollable wide-screen HTML pages with dark/light theme toggle, scroll animations, and rich directive components. Use when the user wants to turn a .md file into a presentable HTML page, create a long-form web article from markdown, generate a scrollable one-pager, or make a shareable HTML document from notes/outlines. Triggers on: markdown to HTML, generate page from md, scrollable page, wide-screen page, one-pager, web article from markdown.

md-to-page

Convert Markdown into polished, scrollable wide-screen HTML pages with built-in dark/light theme toggle.

Quick Start

python3 SKILL_DIR/scripts/md_to_page.py INPUT.md OUTPUT.html [options]

Options

FlagDescriptionDefault
--embed-imagesCompress local images (Pillow) and embed as base64 data URIsoff
--title TEXTOverride HTML page titleFirst H1
--footer TEXTCustom footer text"Generated by md-to-page"

Features

Standard Markdown

  • H1 → full-screen hero title (first paragraph under H1 = subtitle)
  • H2 → numbered section dividers (01, 02, ...)
  • H3/H4 → section/sub-section headings
  • Bold, *italic*, inline code, links, images
  • Unordered and ordered lists
  • Fenced code blocks with syntax display
  • Blockquote callouts (>, > 💡, > ⚠️)
  • Markdown tables → styled responsive tables
  • Horizontal rules → ignored (sections provide visual separation)

File Trees

workspace/ ├── SOUL.md # System prompt ├── memory/ │ └── 2026-03-01.md └── skills/

::: Directive Blocks

Extended syntax using fenced ::: blocks for rich components.

Card

::: card
Content with **bold** and `code`
:::

Card Grid

::: card-grid
::: card {icon=💬 title="Chat"}
Natural language interface
:::
::: card {icon=📄 title="Docs"}
Auto-generated documentation
:::
:::

Compare (Good vs Bad)

::: compare
::: side bad {label="❌ Before"}
Manual copy-paste workflow
:::
::: side good {label="✅ After"}
Automated pipeline
:::
:::

Flow

::: flow
Write docs → AI helps write → *Store in Confluence* → AI reads → Summary
:::
  • Normal text = regular step
  • *text* = highlighted step (accent border + glow)
  • ~text~ = dead/deprecated step (strikethrough + faded)
  • Arrows rendered as connector arrows

Deprecated flow with opacity:

::: flow dead-suffix
Store in Confluence ← No longer needed
:::

Quote Block

::: quote
The best interface is no interface.
— Golden Krishna
:::

Layers

::: layers
Personal | Your preferences, projects, habits
Team | Onboarding, SOP, tech decisions
Organization | Company policies, cross-BU knowledge
:::

Format: Tag | Description per line. Each layer gets a distinct color (up to 4 built-in colors).

Cycle

::: cycle negative
Wrote docs → Nobody updates → Outdated → Nobody reads → ↻
:::

::: cycle positive
Write to memory → AI answers → People use → AI updates → ↻
:::

Polarity: negative (pink) or positive (cyan).

Command List

::: cmd-list
/status — Check agent status
/model — Switch model
/new — Reset context
:::

Format: command — description per line, rendered in monospace with accent-colored keys.

Image Embedding

With --embed-images, local image paths in ![alt](path) are:

  1. Loaded from disk (relative to the input .md file)
  2. Compressed via Pillow (max 1200px wide, JPEG quality 75)
  3. Embedded as data:image/jpeg;base64,... URIs
  4. If Pillow is not installed, raw file bytes are base64-encoded without compression

URLs (http://, https://) are left unchanged.

Theme Toggle

Every generated page includes a 🌙/☀️ toggle button (top-right corner) that switches between dark and light themes. Theme preference is saved to localStorage.

  • Dark (default): Deep navy background, gradient accents, purple/cyan colors
  • Light: White background, subtle gray cards, clean typography

Markdown Tables

Standard pipe tables are auto-detected and rendered as styled tables:

| Feature | Status |
|---------|--------|
| Dark mode | ✅ |
| Light mode | ✅ |

When NOT to Use

  • For slide decks / presentations → use presentation-generator or slides-cog
  • For Obsidian notes → use obsidian-markdown

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.3%
按下载量换算2,598

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills