SkillsGrove
SkillsGrove/生産性向上/shiker1996/wechat-editroom/wechat-md-render

wechat-md-render

インストール

$npx skills add https://github.com/shiker1996/wechat-editroom --skill wechat-md-render
$git clone --depth 1 https://github.com/shiker1996/wechat-editroom.git /tmp/wechat-editroom && mkdir -p ~/.claude/skills && cp -r /tmp/wechat-editroom/skills/wechat-md-render ~/.claude/skills/wechat-md-render
この Agent Skill をインストールしてください:https://github.com/shiker1996/wechat-editroom/tree/c64599cd038ab7f5251ba03c14fad72d3edf3951/skills/wechat-md-render — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MIT在公众号 Markdown 转 HTML 前建立稳定的预渲染副本,规范显式 Mermaid、ECharts 和内联模块标记,同时保持正文、来源、图片和注释不变。适用于用户要求预渲染公众号 Markdown,或由 wechat-article-typeset 读取源 Markdown 并生成同名 rendered.md。不负责设计、截图、上传、HTML 或预览。
以下の SKILL.md は shiker1996/wechat-editroom(コミット c64599c)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2026 shiker。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

微信文章 Markdown 预渲染

读取 UTF-8 Markdown,写入同目录 <stem>.rendered.md。默认执行无损复制;只有用户或源文档明确使用受支持的围栏/模块语法时才规范其结构。

执行

node scripts/md-render.js <input.md> [output.rendered.md]

脚本不自动把普通正文中的箭头、列表或代码改成图表。需要将流程改成 Mermaid 时,必须由用户明确要求或源文档已使用 mermaid 围栏。

门禁

  • 输入存在、非空且可按 UTF-8 读取
  • 输出非空,正文标题、段落、链接、脚注、图片和 HTML 注释均保留
  • 围栏成对闭合;未识别围栏原样保留
  • 不生成设计文件、图片或 HTML

独立调用和编排调用都返回实际输出路径。

ライセンス全文を見る(MIT)
MIT License

Copyright (c) 2026 shiker

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.