ClaudeMods
☰
ZH-CN
● — 人在线 · 浏览 — 次
赞助提交作品
GitHub 仓库 · 发布者 NahumLitvin

prismantis

一个 Claude Code 模组,可用颜色重绘回复,并显示表格、标题、列表、引用文本、高亮代码、数字、路径、链接、mermaid 图形、图表和工具行,提供 17 个主题和复制按钮。

NahumLitvin@NahumLitvin

NahumLitvin/prismantis/tree/main/plugin

已翻译

关于这个 mod

Prismantis 是一个 Claude Code 插件,可用颜色渲染 Claude 的回复。它在 17 个主题中为表格、标题、列表、引用、高亮代码、数字、路径、链接、mermaid 图形、图表和工具行设置样式,并提供复制按钮。/prismantis setup 命令用于选择外观,/prismantis demo 可预览全部内容。该插件不进行网络调用;它使用本地剪贴板辅助工具(osascript、powershell.exe 或 copyq),读取本地 PNG 图像和 ratex-render 输出,并且仅通过 /config 保存自己的选项。它会挂钩 ui.render、command.run、prompt.submit 和 engine.create,并向其他模组公开 prismantis.markdown。由 Nahum Litvin 以 MIT 许可授权。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add NahumLitvin/prismantis
claude plugin install prismantis@prismantis
原文 / README

prismantis

A Claude Code mod that redraws Claude's replies in color: tables, headings, lists, quotes, highlighted code, numbers, paths and links, mermaid diagrams and charts, and tool rows, in 17 themes, with copy buttons. Run /prismantis setup to pick a look, or /prismantis demo to see everything it draws.

Screenshots, every option and the changelog are in the full README.

What it runs, reads and changes

Prismantis makes no network calls. Everything below stays on your machine.

  • Programs. Clicking ⧉ html or ▣ png runs the clipboard helper with the copied table, diagram or figure on stdin: osascript on macOS, powershell.exe on Windows (it reads SystemRoot to find it), or copyq on Linux. With latex on, it runs ratex-render from your PATH with the reply's formulas on stdin. It runs nothing else.
  • Files. It reads a local PNG that a reply links as a Markdown image, up to 2 MB, to draw it in kitty or Ghostty. It reads back the PNGs ratex-render writes to $TMPDIR/prismantis-latex-<session>-<id>. It writes no files itself.
  • Settings. /prismantis setup and /prismantis theme save your pick through /config, only into prismantis's own options (prismantis.theme, prismantis.tableStyle and the other setup steps). Nothing else in your settings changes.
  • Hooks. It draws through ui.render, answers the /prismantis command through command.run, adds the model-only diagram hints note in prompt.submit, and adds $.prismantis.markdown for other mods in engine.create. prismantis.markdown is that call's own event.

License

MIT, by Nahum Litvin. Bundled third-party code and palettes are credited in THIRD_PARTY_NOTICES.md.

获取徽章

这是你的项目吗?把这个徽章放进 README 或网站,链接回本页。

Featured on ClaudeMods
尺寸
配色
Markdown
HTML

其他同名作品

更多类似作品