Features
baoyu-markdown-to-html: render fenced```mermaidcode blocks to local PNG via shared Chrome (CDP) before the standard image-placeholder pipeline runs. New CLI flags:--mermaid-theme <default|forest|dark|neutral|base>,--mermaid-scale <N>(default2for @2x resolution),--mermaid-bg <white|transparent|#hex>, and--no-mermaidto disable rendering. Generated images land inimgs/.mermaid-cache/mermaid-<hash>.pngand are deduplicated/reused across runs by a 12-char SHA-256 over(code, theme, scale, background, mermaid version). The browser-side<pre class="mermaid">path is retained as a graceful fallback when Chrome is unavailable or a single block fails to renderbaoyu-post-to-wechat,baoyu-post-to-weibo,baoyu-post-to-x: cascade the same Mermaid → PNG preprocessing into the WeChat / Weibo / X publishing pipelines so diagrams appear as real images in the published posts (previously they fell through as unrendered<pre>blocks). ExistingWECHATIMGPH_*/WBIMGPH_*/XIMGPH_*placeholder pipelines pick up the generated PNGs unchangedbaoyu-mdpackage: new exportspreprocessMermaidInMarkdown,extractMermaidBlocks,replaceMermaidBlocks,hashMermaidCode, andMERMAID_VERSION(skills inject the render function so the package stays Chrome-free)baoyu-chrome-cdppackage: new./mermaidsubexport providingrenderMermaidToPng(code, outputPath, options)backed by a process-singleton CDP connection that reuses the shared Chrome profile and ships the vendored Mermaid 10.9.1 UMD bundle as an asset