Skip to content

Latest commit

 

History

History
2718 lines (2367 loc) · 224 KB

index.md

File metadata and controls

2718 lines (2367 loc) · 224 KB

List of available scripts

Debug

Keywords: Debug

Script Details
Action-Clear-Custom-Data.md [[#Action-Clear-Custom-Data]]

Animation

Keywords: Animation

Script Details
Action-Progressive-Drawing-Animator.md [[#Action-Progressive-Drawing-Animator]]
Action-Toggle-Arrow-Animation.md [[#Action-Toggle-Arrow-Animation]]
Feature-Arrow-Animation-Engine.md [[#Feature-Arrow-Animation-Engine]]

Arrow

Keywords: Arrow

Script Details
Action-Arrow-Segment-Editor.md [[#Action-Arrow-Segment-Editor]]
Action-Fixed-Length-Panel.md [[#Action-Fixed-Length-Panel]]
Action-Measure-Panel.md [[#Action-Measure-Panel]]
Action-Toggle-Arrow-Head.md [[#Action-Toggle-Arrow-Head]]
Feature-Arrow-Head-Resize-Engine.md [[#Feature-Arrow-Head-Resize-Engine]]
Feature-Fixed-Length-Engine.md [[#Feature-Fixed-Length-Engine]]
Feature-Measure-Engine.md [[#Feature-Measure-Engine]]

Attachment

Keywords: Attachment

Script Details
Action-Open-Attachment.md [[#Action-Open-Attachment]]

Brace

Keywords: Brace

Script Details
Action-Add-Bottom-Brace-Path.md [[#Action-Add-Bottom-Brace-Path]]
Action-Add-Bottom-Brace.md [[#Action-Add-Bottom-Brace]]
Action-Add-Brace-Shadow.md [[#Action-Add-Brace-Shadow]]
Action-Add-Left-Brace-Path.md [[#Action-Add-Left-Brace-Path]]
Action-Add-Left-Brace.md [[#Action-Add-Left-Brace]]
Action-Add-Right-Brace-Path.md [[#Action-Add-Right-Brace-Path]]
Action-Add-Right-Brace.md [[#Action-Add-Right-Brace]]
Action-Add-Top-Brace-Path.md [[#Action-Add-Top-Brace-Path]]
Action-Add-Top-Brace.md [[#Action-Add-Top-Brace]]

Callout

Keywords: Callout

Script Details
Action-Create-Callout.md [[#Action-Create-Callout]]
Action-Toggle-Callout.md [[#Action-Toggle-Callout]]
Feature-Callout-Engine.md [[#Feature-Callout-Engine]]

Checkbox

Keywords: Checkbox

Script Details
Action-Toggle-Checkbox.md [[#Action-Toggle-Checkbox]]
Feature-Checkbox-Engine.md [[#Feature-Checkbox-Engine]]

Clipboard

Keywords: Clipboard

Script Details
Feature-Paste-Engine.md [[#Feature-Paste-Engine]]

Code-highlight

Keywords: Code-highlight

Script Details
Action-Style-Code-Highlight.md [[#Action-Style-Code-Highlight]]
Action-Toggle-Code-Highlight.md [[#Action-Toggle-Code-Highlight]]
Feature-Code-Highlight-Engine.md [[#Feature-Code-Highlight-Engine]]

Color

Keywords: Color

Script Details
Action-Extra-Colors-Manager.md [[#Action-Extra-Colors-Manager]]
Feature-Extra-Colors-Engine.md [[#Feature-Extra-Colors-Engine]]

Connection

Keywords: Connection

Script Details
Action-Advanced-Connector.md [[#Action-Advanced-Connector]]
Action-Toggle-No-Bind.md [[#Action-Toggle-No-Bind]]

Detail

Keywords: Detail

Script Details
Action-Toggle-Detail.md [[#Action-Toggle-Detail]]
Feature-Detail-Engine.md [[#Feature-Detail-Engine]]

Distribute

Keywords: Distribute

Script Details
Action-Distribute-Diagonally.md [[#Action-Distribute-Diagonally]]
Action-Distribute-Horizontally.md [[#Action-Distribute-Horizontally]]
Action-Distribute-Text.md [[#Action-Distribute-Text]]
Action-Distribute-Vertically.md [[#Action-Distribute-Vertically]]
Feature-Auto-Distribute-Paste-Engine.md [[#Feature-Auto-Distribute-Paste-Engine]]

Echarts

Keywords: Echarts

Script Details
Action-Echarts-Manager.md [[#Action-Echarts-Manager]]
Feature-Echarts-Engine.md [[#Feature-Echarts-Engine]]

Export

Keywords: Export

Script Details
Action-Export-Image-To-Anki.md [[#Action-Export-Image-To-Anki]]
Action-Export-Image-To-Eagle.md [[#Action-Export-Image-To-Eagle]]
Feature-Export-Eagle.md [[#Feature-Export-Eagle]]
Feature-Export-Embeddable.md [[#Feature-Export-Embeddable]]

Follow

Keywords: Follow

Script Details
Action-Follow-Arrow-Backward.md [[#Action-Follow-Arrow-Backward]]
Action-Follow-Arrow-Forward.md [[#Action-Follow-Arrow-Forward]]

Generate

Keywords: Generate

Script Details
Action-Boolean-Operations.md [[#Action-Boolean-Operations]]
Action-Bullet-Manager.md [[#Action-Bullet-Manager]]
Action-Generate-Cuboid.md [[#Action-Generate-Cuboid]]
Action-Generate-Digital-Clock.md [[#Action-Generate-Digital-Clock]]
Action-Generate-Digital-SVG.md [[#Action-Generate-Digital-SVG]]
Action-Generate-Grid-Selected.md [[#Action-Generate-Grid-Selected]]
Action-Generate-Grid.md [[#Action-Generate-Grid]]
Action-Generate-Parallelogram.md [[#Action-Generate-Parallelogram]]
Action-Generate-Polygon.md [[#Action-Generate-Polygon]]
Action-Generate-Repeat-Selected.md [[#Action-Generate-Repeat-Selected]]
Feature-Bullet-Engine.md [[#Feature-Bullet-Engine]]

Gif

Keywords: Gif

Script Details
Action-Toggle-GIF.md [[#Action-Toggle-GIF]]
Feature-GIF-Engine.md [[#Feature-GIF-Engine]]

Gradient

Keywords: Gradient

Script Details
Action-Gradient-Silent.md [[#Action-Gradient-Silent]]
Action-Gradient-UI.md [[#Action-Gradient-UI]]
Feature-Gradient-Engine.md [[#Feature-Gradient-Engine]]

Hover

Keywords: Hover

Script Details
Action-Toggle-Hover.md [[#Action-Toggle-Hover]]
Feature-Hover-Engine.md [[#Feature-Hover-Engine]]

Icon

Keywords: Icon

Script Details
Action-Icon-Library.md [[#Action-Icon-Library]]

Latex

Keywords: Latex

Script Details
Action-Convert-Freedraw-To-Latex.md [[#Action-Convert-Freedraw-To-Latex]]
Action-Extract-Latex.md [[#Action-Extract-Latex]]

Layer

Keywords: Layer

Script Details
Action-Toggle-Layer.md [[#Action-Toggle-Layer]]
Feature-Layer-Engine.md [[#Feature-Layer-Engine]]

Library

Keywords: Library

Script Details
Action-Dynamic-Library.md [[#Action-Dynamic-Library]]
Action-Load-Library-To-Canvas.md [[#Action-Load-Library-To-Canvas]]
Feature-Calendar-Engine.md [[#Feature-Calendar-Engine]]
Feature-Library-Engine.md [[#Feature-Library-Engine]]

Line-highlight

Keywords: Line-highlight

Script Details
Action-Toggle-Line-Highlight.md [[#Action-Toggle-Line-Highlight]]
Feature-Line-Highlight-Engine.md [[#Feature-Line-Highlight-Engine]]

Link

Keywords: Link

Script Details
Action-Return-Link-Origin.md [[#Action-Return-Link-Origin]]
Feature-Link-Engine.md [[#Feature-Link-Engine]]

List

Keywords: List

Script Details
Action-Toggle-List.md [[#Action-Toggle-List]]
Feature-Smart-List-Engine.md [[#Feature-Smart-List-Engine]]

Mindmap

Keywords: Mindmap

Script Details
Action-Change-Mindmap-Style.md [[#Action-Change-Mindmap-Style]]
Action-Create-Mindmap.md [[#Action-Create-Mindmap]]
Action-Detach-Mindmap.md [[#Action-Detach-Mindmap]]
Action-Export-Mindmap-To-Clipboard.md [[#Action-Export-Mindmap-To-Clipboard]]
Action-Export-Mindmap-To-Md.md [[#Action-Export-Mindmap-To-Md]]
Action-Import-Mindmap-From-Clipboard.md [[#Action-Import-Mindmap-From-Clipboard]]
Action-Rescue-And-Show-Mindmap.md [[#Action-Rescue-And-Show-Mindmap]]
Feature-Mindmap-Engine.md [[#Feature-Mindmap-Engine]]

Outline

Keywords: Outline

Script Details
Action-Set-Outline-Level.md [[#Action-Set-Outline-Level]]
Action-Toggle-Outline.md [[#Action-Toggle-Outline]]
Feature-Outline-Engine.md [[#Feature-Outline-Engine]]

Recognize

Keywords: Recognize

Script Details
Action-Recognize-Shape.md [[#Action-Recognize-Shape]]
Feature-Shape-Recognize-Engine.md [[#Feature-Shape-Recognize-Engine]]

Reminder

Keywords: Reminder

Script Details
Action-Todo-Manager.md [[#Action-Todo-Manager]]

Select

Keywords: Select

Script Details
Action-Advanced-Select.md [[#Action-Advanced-Select]]

Shadow

Keywords: Shadow

Script Details
Action-Toggle-Shadow.md [[#Action-Toggle-Shadow]]
Feature-Shadow-Engine.md [[#Feature-Shadow-Engine]]

Size

Keywords: Size

Script Details
Action-Transform-Size.md [[#Action-Transform-Size]]

Smart-art

Keywords: Smart-art

Script Details
Action-Link-Smart-Art.md [[#Action-Link-Smart-Art]]

Space

Keywords: Space

Script Details
Action-Insert-Vertical-Space.md [[#Action-Insert-Vertical-Space]]

Step-appear

Keywords: Step-appear

Script Details
Action-Step-Appear-Setup.md [[#Action-Step-Appear-Setup]]
Feature-Step-Appear-Engine.md [[#Feature-Step-Appear-Engine]]

Swimlane

Keywords: Swimlane

Script Details
Action-Toggle-Swimlane.md [[#Action-Toggle-Swimlane]]
Feature-Swimlane-Engine.md [[#Feature-Swimlane-Engine]]

Table

Keywords: Table

Script Details
Action-Table-Generate.md [[#Action-Table-Generate]]
Action-Table-Modify.md [[#Action-Table-Modify]]

Tag

Keywords: Tag

Script Details
Action-Set-Tags.md [[#Action-Set-Tags]]

Text

Keywords: Text

Script Details
Action-Check-Unregistered-Fonts.md [[#Action-Check-Unregistered-Fonts]]
Action-Format-Text-Global-Silent.md [[#Action-Format-Text-Global-Silent]]
Action-Format-Text-Globals.md [[#Action-Format-Text-Globals]]
Action-Format-Text-Partials-Silent.md [[#Action-Format-Text-Partials-Silent]]
Action-Format-Text-Partials.md [[#Action-Format-Text-Partials]]
Action-Highlight-Background-Silent.md [[#Action-Highlight-Background-Silent]]
Action-Highlight-Background-UI.md [[#Action-Highlight-Background-UI]]
Action-Paste-Wrapped-Text.md [[#Action-Paste-Wrapped-Text]]
Action-Runtime-Font-Manager.md [[#Action-Runtime-Font-Manager]]
Action-Split-Text-Segments.md [[#Action-Split-Text-Segments]]
Action-Text-Copy-Elements.md [[#Action-Text-Copy-Elements]]
Feature-Input-Emoji-Engine.md [[#Feature-Input-Emoji-Engine]]
Feature-Markdown-Header-Engine.md [[#Feature-Markdown-Header-Engine]]
Feature-Template-Engine.md [[#Feature-Template-Engine]]
Feature-Text-Render-Engine.md [[#Feature-Text-Render-Engine]]
Feature-Text-Shortcuts-Engine.md [[#Feature-Text-Shortcuts-Engine]]

Thumbnail

Keywords: Thumbnail

Script Details
Action-Toggle-Thumbnail.md [[#Action-Toggle-Thumbnail]]
Feature-Thumbnail-Engine.md [[#Feature-Thumbnail-Engine]]

Wave-drom

Keywords: Wave-drom

Script Details
Action-Wavedrom-Manager.md [[#Action-Wavedrom-Manager]]
Feature-Wavedrom-Engine.md [[#Feature-Wavedrom-Engine]]

Zoom

Keywords: Zoom

Script Details
Action-Toggle-Zoom-Hide.md [[#Action-Toggle-Zoom-Hide]]
Feature-Zoom-Hide-Engine.md [[#Feature-Zoom-Hide-Engine]]

Description and Installation

Action-Clear-Custom-Data

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/Debug/Action-Clear-Custom-Data.md
Name清空元素的 customData
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:一键清除选中元素的所有附加数据。
Usage选中画板中表现异常的元素,运行此脚本将强制删除其底层携带的所有 `customData`(如各种插件注入的业务状态和标签)。常用于开发调试或解除引擎绑定的图元状态。
Features
  • 遍历删除选定元素的 `customData` 对象
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Progressive-Drawing-Animator

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/animation/Action-Progressive-Drawing-Animator.md
Name终极逐笔绘制动画
Authorymjr
Version1.2.1
SourceFile on GitHub
Description完美模拟手绘与打字过程。提供可拖拽的悬浮面板,支持滑动条与输入框双向绑定,方便实时调试参数。
Usage运行脚本弹出控制台。面板可任意拖拽,不遮挡画布。可反复点击“运行”进行调试。
Features
  • 可拖拽的悬浮 UI 控制台,沉浸式调试不打断工作流
  • 参数支持 Slider + Number Input 双向绑定同步
  • 支持后台反复重启运行,无需反复开关面板
  • 动态克隆文字绕过渲染缓存,并传递原生 Canvas 绘制所需的坐标偏移
  • 支持全局动画与仅选中元素动画切换
  • 修复文字动画重叠问题,打字机效果独立排期
  • 可选按 frame / slideshow 路径自动平滑移动视角
Dependencies
  • EA_Core Hook 系统
Autorunfalse
LicenseMIT

Action-Toggle-Arrow-Animation

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/animation/Action-Toggle-Arrow-Animation.md
Name设置连线动画
Authorymjr
Version1.0.0
SourceFile on GitHub
Description为选中的连线或箭头添加动态效果(流光、穿梭、飞行箭头)。
Usage选中画板中的连线或箭头后运行,在弹出的美观 UI 面板中配置动画。
Features
  • 纯 HTML/CSS 绘制的现代化 UI,完美融入 Obsidian 主题
  • 包含 Flow (流光)、Dash (穿梭)、Arrow (飞行箭头)
Dependencies
  • 必须依赖 [Feature-Animation-Engine] 后台常驻引擎渲染
Autorunfalse
LicenseMIT

Feature-Arrow-Animation-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/animation/Feature-Arrow-Animation-Engine.md
Name高性能动画引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:支持流光、穿梭、以及基于轨迹运算的飞行箭头动画。
Autoruntrue
LicenseMIT

Action-Arrow-Segment-Editor

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/arrow/Action-Arrow-Segment-Editor.md
Name折线箭头坐标精调面板
Authorymjr
Version1.0.0
SourceFile on GitHub
Description交互式悬浮面板与画布手柄:直观选中多点折线/箭头的任意边或顶点,支持画布直接拖拽、方向键/十字键微调、坐标精设与拐点增删。
Usage运行脚本打开/关闭控制面板,在画布中选中任意折线或箭头,即可在画布手柄或面板预览图上点击边/点进行上下左右移动、坐标精调或加减拐点。
Features
  • 双向交互:支持在画布实时高亮手柄上直接拖拽边/顶点,也支持在面板 SVG 预览图中点击选择
  • 按边调整:平移整条边(同时移动两端点),自动保持相邻直角正交不斜
  • 首尾锚点保护:移动连接图形的起始/结束边时,自动折出干净的 90° 阶梯过渡,不脱离绑定元素
  • 精准控制:支持步长预设、十字键/键盘方向键微调、场景坐标精确输入、水平/垂直拉直与居中对齐
  • 拓扑工具:支持一键折出 U 型绕行弯、插入中点、清理共线冗余点、切换自由折线模式
  • 支持原生 Ctrl+Z 撤销与面板内一键回退,多视图/弹出窗口隔离互不干扰
Autorunfalse
LicenseMIT

Action-Fixed-Length-Panel

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/arrow/Action-Fixed-Length-Panel.md
Name连线定长配置面板
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:开启或关闭所选连线的定长旋转模式。
Usage当需要将连线或箭头的长度锁定(如绘制圆规效果),只允许旋转而不改变长度时使用。
Features
  • 提供可拖拽的定长控制悬浮面板
  • 支持一键开启或解除选中连线的定长锁定状态
Dependencies
  • 需要配合 Feature-Fixed-Length-Engine 引擎使用以实现拦截和控制
Autorunfalse
LicenseMIT

Action-Measure-Panel

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/arrow/Action-Measure-Panel.md
Name连线测量与精控面板
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:开启/关闭测量标签、设置比例尺单位,以及精确设置连线长度。
Usage用于精确测量和控制画板中的线条长度,并可随时添加或取消数值标注。
Features
  • 提供带有精美 SVG 图标的可拖拽面板
  • 支持自定义比例尺和单位(如 1px = 10mm),并应用测量标注
  • 支持输入具体数值,自动按当前角度伸缩选中连线的精确长度
Dependencies
  • 需要配合 Feature-Measure-Engine 连线实时测量引擎运行
Autorunfalse
LicenseMIT

Action-Toggle-Arrow-Head

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/arrow/Action-Toggle-Arrow-Head.md
Name设置箭头局部拉伸
Authorymjr
Version1.0.0
SourceFile on GitHub
Description开启或关闭箭头的局部拉伸功能(支持自定义固定点与拖拽点,带实时预览,可拖拽面板)。
Usage当需要修改连线或箭头形状,但希望某些点保持固定(局部拉伸)时,运行该面板来定义固定点、拖拽点和中心点。
Features
  • 采用全闭包构建纯 HTML UI,零污染,支持自由拖拽
  • Canvas 点位实时解析预览
  • 允许自定义设置固定点索引与拖拽点索引
Dependencies
  • 依赖 Feature-ArrowHead-Resize-Engine 引擎进行拖拽拦截和形变计算
Autorunfalse
LicenseMIT

Feature-Arrow-Head-Resize-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/arrow/Feature-Arrow-Head-Resize-Engine.md
Name箭头局部拉伸引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供点级别拖拽拦截,实现仅拉伸箭头局部的效果。
Usage作为前置依赖挂载,提供连线点级别拖拽拦截功能,实现仅拉伸箭头局部(而非整体位移)的视觉效果。
Features
  • 拦截 handlePointDragging 钩子
  • 根据 customData 中配置的 fixedPoints 和 dragablePoint 计算局部拉伸量和角度
  • 修改拖拽节点位置实现局部形变
Dependencies
  • 供 "设置箭头局部拉伸" (Action-Toggle-Arrow-Head.md) 配合使用
Autoruntrue
LicenseMIT

Feature-Fixed-Length-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/arrow/Feature-Fixed-Length-Engine.md
Name连线定长控制引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供连线/箭头在拖拽节点时的长度锁定计算(圆规旋转效果)。
Usage作为前置依赖挂载,为连线或箭头提供定长旋转能力。
Features
  • 拦截 handlePointDragging 钩子,计算定长圆规旋转坐标
  • 强制锁定半径,覆盖 Excalidraw 默认的连线拖拽坐标更新
Dependencies
  • 供 "连线定长配置面板" (Action-Fixed-Length-Panel.md) 配合使用
Autoruntrue
LicenseMIT

Feature-Measure-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/arrow/Feature-Measure-Engine.md
Name连线实时测量引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供连线/箭头拖拽时的实时长度测量与文本标签自动跟随。
Usage作为前置依赖挂载,在画板中拖拽含有 measure 属性的连线时,自动计算长度并实时刷新文本标签位置。
Features
  • 拦截 handlePointDragging 钩子以实现实时重绘
  • 提供安全、高性能的内存级别节点更新,绕过 Excalidraw 原生 API 卡顿
  • 暴露 updateMeasureText API 给外部面板使用
Dependencies
  • 供 "连线测量与精控面板" (Action-Measure-Panel.md) 配合使用
Autoruntrue
LicenseMIT

Action-Open-Attachment

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/attachment/Action-Open-Attachment.md
Name使用默认应用打开附件
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提取选中元素中的附件文件,并使用系统默认应用程序独立打开,配备高颜值 HTML UI。
Usage选中画板中带有附件的图形(如图片、嵌入的MD等),运行此脚本即可在外部默认应用中打开。
Features
  • 采用 Obsidian 原生 openWithDefaultApp 接口,完美兼容 Win/Mac/Linux
  • 自动过滤无效元素,支持批量打开,提供友好的异常捕获
  • 采用独立无污染的 HTML 悬浮窗(Toast)进行美观的 UI 交互
Dependencies
  • 无
Autorunfalse
LicenseMIT

Action-Add-Bottom-Brace-Path

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Bottom-Brace-Path.md
NameAdd bottom brace(path)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Bottom-Brace

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Bottom-Brace.md
NameAdd bottom brace
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Brace-Shadow

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Brace-Shadow.md
NameAdd shadow
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Left-Brace-Path

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Left-Brace-Path.md
NameAdd left brace(path)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Left-Brace

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Left-Brace.md
NameAdd left brace
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Right-Brace-Path

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Right-Brace-Path.md
NameAdd right brace(path)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Right-Brace

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Right-Brace.md
NameAdd right brace
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Top-Brace-Path

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Top-Brace-Path.md
NameAdd top brace(path)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Add-Top-Brace

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/brace/Action-Add-Top-Brace.md
NameAdd top brace
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Create-Callout

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/callout/Action-Create-Callout.md
Name生成高亮标注 (Callout)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:将选中的文本一键转换为带有图标和背景色的 Callout 标注。
Usage选中画板上的文本元素,运行此脚本并在弹窗中选择 Callout 的类型(Info/Warning/Error 等),脚本会在文本左侧生成图标并添加背景色。
Features
  • 自动注入 `customData.callout` 将其转化为受控容器
Dependencies
  • 必须依赖 [Feature-Callout-Engine] 提供文本编辑时的实时避让排版
Autorunfalse
LicenseMIT

Action-Toggle-Callout

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/callout/Action-Toggle-Callout.md
Name切换 Callout 标注状态
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:在不同的 Callout 类型之间进行切换,或取消其 Callout 状态。
Usage选中已经成为 Callout 的标注框,运行脚本唤起切换面板,选择其他类型以无缝替换图标和颜色。如果选择“移除标记”,则恢复为普通的文本和矩形组合。
Features
  • 动态替换绑定的 SVG 图标和背景色
Dependencies
  • 必须依赖 [Feature-Callout-Engine] 提供排版支持
Autorunfalse
LicenseMIT

Feature-Callout-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/callout/Feature-Callout-Engine.md
NameCallout 核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截并渲染携带 Callout 标记的元素,提供高级容器视觉和内部文本自适应排版。
Usage后台常驻引擎。为所有包含 `customData.callout` 的元素提供底层渲染能力。
Features
  • 拦截 `drawElementOnCanvas` 自定义绘制带侧边栏和图标的 Callout UI
  • 拦截 `beforeStartTextEditing` 等钩子实现 Callout 文本向右偏移排版和自适应边界
  • 维持 Excalidraw 原生选中框和文本编辑器一致性
Dependencies
  • 独立运行,供 Callout 系列的 Action 动作脚本调用
Autoruntrue
LicenseMIT

Action-Toggle-Checkbox

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/checkbox/Action-Toggle-Checkbox.md
Name切换 Checkbox 标记
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将选中的文本块转化为 Checkbox 控件(再次运行取消)。
Usage选中画板中的文本,运行此脚本将其转化为 Checkbox。
Dependencies
  • 必须依赖 [Feature-Checkbox-Engine] 核心引擎处理后台交互
Autorunfalse
LicenseMIT

Feature-Checkbox-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/checkbox/Feature-Checkbox-Engine.md
NameCheckbox 核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供 Shift+悬停 时的手型指针、浮动提示,以及 Shift+点击 的状态切换。
Usage后台常驻引擎,负责寻找并操作带有 customData.isCheckbox 标记的文本元素。
Features
  • 拦截 handleCanvasPointerMove 实现 Shift+鼠标悬停 自动变手型并展示 HTML 浮动提示
  • 拦截 handleCanvasPointerDown (基于 move 缓存的元素) 实现 Shift+点击 自动切换
Dependencies
  • 配合 Action-Toggle-Checkbox 动作脚本使用
Autoruntrue
LicenseMIT

Feature-Paste-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/clipboard/Feature-Paste-Engine.md
Name粘贴摘录解析引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截并解析粘贴板中的特殊格式(BookxNote、Zotero、Eagle、Bookmaster及自定义ymjr等)为带链接的 Excalidraw 元素。
Usage后台常驻。当您在画板中按下 Ctrl+V 粘贴时,自动探测文本剪贴板中是否包含支持的第三方软件协议链接。如果命中,会自动转换为对应的图片、引用块或代码块元素。
Features
  • 拦截 `onPaste` 钩子,支持 BookxNote Pro, Zotero PDF, Bookmaster, Booknote, Eagle 格式。
  • 支持私有的 `ymjr:` JSON 协议,实现富文本与代码高亮等高级粘贴机制。
  • 智能清洗由于跨软件复制带来的无效 HTML 富文本标签。
Dependencies
  • 独立运行。如果是代码高亮协议,需配合 [CodeHighlight] 模块使用。
Autoruntrue
LicenseMIT

Action-Style-Code-Highlight

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/code-highlight/Action-Style-Code-Highlight.md
Name代码高亮样式设置
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:调整当前代码块主题、字体、字号,支持存为全局默认。
Usage在画布上选中通过代码高亮插件生成的代码块图片后,运行此脚本打开样式配置面板。
Features
  • 悬浮面板 UI,支持拖拽和即时预览
  • 设置高亮语言(language)、主题(theme)、嵌入字体以及字号
  • 提供常用语言快速匹配列表,支持保存为全局默认配置
Dependencies
  • 依赖 CodeHighlight-Engine 底层引擎完成重新渲染
Autorunfalse
LicenseMIT

Action-Toggle-Code-Highlight

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/code-highlight/Action-Toggle-Code-Highlight.md
Name切换代码高亮
Authorymjr
Version1.0.1
SourceFile on GitHub
Description选中文本,自动识别语言并应用高亮;若已高亮则取消。
Usage选中画板中的一个或多个文本元素,点击运行脚本。如果是普通文本,将自动识别语言并转换为代码高亮图片;如果是已高亮的图片,将恢复为普通文本。
Features
  • 自动识别多种主流编程语言,或通过弹窗手动选择语言
  • 切换时自动添加或移除 customData.codeHighlight 数据
  • 支持调用内置引擎将文本渲染为带语法高亮、主题配色的 SVG 矢量图片
Dependencies
  • 依赖 Feature-CodeHighlight-Engine 底层引擎完成重绘和渲染
Autorunfalse
LicenseMIT

Feature-Code-Highlight-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/code-highlight/Feature-Code-Highlight-Engine.md
Name代码高亮引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description处理代码高亮的画布绘制(Draw)、SVG导出(Export)及代码片段粘贴(Paste)。
Usage作为后台常驻引擎运行,用于接管带 codeHighlight 属性元素的底层渲染。支持通过 highlight.js 将代码渲染为高质量 SVG 并在画板上展示。
Features
  • 拦截 drawElementOnCanvas 动态将文本转为 Base64 图片进行覆盖绘制
  • 拦截 renderElementToSvg 实现真实无损 SVG 代码块的导出
  • 拦截 onPaste 实现直接粘贴来自 IDE 的特定格式代码片段并生成高亮
Dependencies
  • 提供给 "切换代码高亮" 与 "代码高亮样式设置" 动作脚本调用
Autoruntrue
LicenseMIT

Action-Extra-Colors-Manager

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/color/Action-Extra-Colors-Manager.md
Name管理自定义调色板 (i18n 增强版)
Authorymjr
Version2.1.0
SourceFile on GitHub
Description弹出一个可视化的色彩管理面板,支持创建色组、添加/修改/删除颜色,并将配置自动保存为标准的国际化 JSON 格式。
Usage直接运行此脚本以呼出调色板管理器悬浮窗口。
Features
  • 完美支持多分组,每组可容纳任意数量的颜色
  • 支持中英双语自适应显示与编辑,不破坏异国语言数据
  • 组内支持颜色名即时输入、可视化颜色拾取器更改 Hex、单色删除
  • 自动序列化为标准的国际化 JSON 结构保存至插件后台
Dependencies
  • 依赖 扩展调色板核心引擎 提供底层解析支持
Autorunfalse
LicenseMIT

Feature-Extra-Colors-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/color/Feature-Extra-Colors-Engine.md
Name扩展调色板核心引擎 (JSON i18n版)
Authorymjr
Version1.0.1
SourceFile on GitHub
Description后台引擎:提供自定义颜色面板配置的 JSON 解析与全局色彩注入支持,完美支持中英双语国际化切换。
Usage作为后台常驻引擎运行。请不要在设置中手动修改其生成的 JSON,建议配合管理面板脚本使用。
Features
  • 拦截 excalidrawExtraColors 钩子
  • 支持组名与颜色名称
  • 自动侦测 Obsidian 系统语言并实时切换 UI 显示
  • 自动为每个不规则分组进行 5列网格末尾占位补齐
Dependencies
  • 无前置依赖
Autoruntrue
LicenseMIT

Action-Advanced-Connector

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/connection/Action-Advanced-Connector.md
Name高级连线引擎 (Advanced Connector)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提供UI界面,支持多种模式(一对一、一对多、串联)、方向、折线形态与FixedPoint固定点绑定的高级连线工具。
Usage选中画板中的多个图形,运行此脚本,在弹出的UI中选择连接模式、方向和箭头样式。
Features
  • 现代化UI界面,自由选择连线模式、方向、线条类型与箭头样式
  • 完美支持 FixedPoint 内部固定点精准锚定
  • 支持智能折线 (Elbow)、曲线与直线的精确坐标计算
Autorunfalse
LicenseMIT

Action-Toggle-No-Bind

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/connection/Action-Toggle-No-Bind.md
Name防吸附管理面板 (No-Bind UI)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提供一个美观的悬浮面板,用于管理和实时追踪选中元素的 nobind (禁止连线吸附) 状态。
Usage运行此脚本将唤起/关闭防吸附设置悬浮面板。选中元素后可通过面板的开关快捷切换 nobind 属性。
Features
  • 美观的 HTML/CSS 悬浮面板交互 (避开 Modal 限制)
  • 拦截 handleCanvasPointerUp 实现选中状态的实时动态追踪
  • 状态隔离,严格挂载至 ExcalidrawAutomate.plugin._ymjr_nobind 防止污染 window
Dependencies
  • 需配合 EA_Core 核心引擎运行
Autorunfalse
LicenseMIT

Action-Toggle-Detail

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/detail/Action-Toggle-Detail.md
Name绑定/解除 Detail 关系
Authorymjr
Version1.0.0
SourceFile on GitHub
Description选中要隐藏的元素运行,然后点击作为触发器的Target;不选元素运行则进入解除模式。
Usage绑定:先选中需要被折叠/展开的子元素,运行此脚本后,再点击画板上的主元素(Target)进行关联;解除:不选任何元素运行脚本,然后点击主元素(Target)解除关联。
Features
  • 通过临时拦截 shouldSelectElement 提供交互式的“靶向绑定”体验
  • 自动向元素中注入 customData.detail 配置
  • 支持配置子元素是否在拖拽 Target 时跟随移动
Dependencies
  • 依赖 Feature-Detail-Engine 提供实际的展开/折叠显示功能与拖拽跟随算法
Autorunfalse
LicenseMIT

Feature-Detail-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/detail/Feature-Detail-Engine.md
Name详情核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提供Detail容器的外部右上角图标渲染、点击拦截、关联元素跟随以及选中拦截。
Usage作为后台常驻引擎挂载,负责处理所有具有 detail 和 hide 属性元素的渲染和交互。
Features
  • 拦截 renderCustomIcons,在 Target 元素右上角绘制动态展开/收起(+/-)按钮
  • 拦截 handleCanvasPointerDown,实现点按按钮时的状态切换与元素隐藏
  • 拦截 modifyElementsToDrag,实现子元素跟随 Target 一起被拖拽
  • 拦截 shouldSelectElement,阻止被隐藏(hide:true)的子元素被框选或点击选中
Dependencies
  • 被 "绑定/解除 Detail 关系" 动作依赖
Autoruntrue
LicenseMIT

Action-Distribute-Diagonally

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/distribute/Action-Distribute-Diagonally.md
Name对角线等距分布
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将选中的多个元素/群组在两端确定的直线上等距分布。智能合并容器与文字,支持局部选中的群组自动扩展。
Usage选中画布上的三个或更多目标元素,运行本脚本。元素将以最左侧和最右侧(或最上和最下)的元素为端点基准,在连线方向上进行等距均匀分布。如果是单个元素选中且位于 Frame 中,将使其在该 Frame 内绝对居中。
Features
  • 智能合并计算(基于图的 BFS):精确识别 Group 内所有嵌套子元素及文字容器以作为一个整体实体处理
  • 完美适配对角线及任意倾斜直线的间距分布计算
  • 单元素选中时支持一键绝对居中对其所在的 Frame 容器
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Distribute-Horizontally

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/distribute/Action-Distribute-Horizontally.md
Name水平等距分布
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:将选中的多个元素/群组在水平区间内智能等距分布。
Usage选中3个或以上的元素(支持独立图元、群组、容器),运行此脚本即可在它们占据的水平总宽度内将其等距对齐排布。
Features
  • 基于图的广度优先搜索,智能提取并合并不可分割的实体 (如 Group + Container + Bound Text)
  • 依据真实的视觉重心坐标进行分布,避免带文字容器分布不均
  • 防止文字被双重位移的底层校验机制
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Distribute-Text

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/distribute/Action-Distribute-Text.md
Name批量分配文本到容器
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将输入的文本按换行/逗号/Tab分割后,批量分配到选中的多个图形容器中。
Usage选中多个目标容器(排除已有的纯文本元素),运行脚本,在弹出的优雅面板中输入文本。
Features
  • 自定义 HTML UI,支持暗色/亮色模式自适应
  • 实时校验输入的文本片段数量与选中容器数量是否匹配
Dependencies
  • 独立运行
Autorunfalse
LicenseMIT

Action-Distribute-Vertically

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/distribute/Action-Distribute-Vertically.md
Name垂直等距分布
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:将选中的多个元素/群组在垂直区间内智能等距分布。
Usage选中3个或以上的元素(支持独立图元、群组、容器),运行此脚本即可在它们占据的垂直总高度内将其等距对齐排布。
Features
  • 基于图的广度优先搜索,智能提取并合并不可分割的实体 (如 Group + Container + Bound Text)
  • 依据真实的视觉重心坐标进行分布,避免带文字容器分布不均
  • 防止文字被双重位移的底层校验机制
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Feature-Auto-Distribute-Paste-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/distribute/Feature-Auto-Distribute-Paste-Engine.md
Name自动分发粘贴引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:监听粘贴事件,当选中多个容器且粘贴文本片段数量完全匹配时,自动将其分发到这些容器中。
Usage后台常驻。在画布中选中 N 个图形节点,复制一段包含 N 个片段(换行/逗号/Tab分隔)的文本并粘贴,即可自动分配。
Features
  • 拦截 `onPaste` 钩子,无感接管符合条件的剪贴板文本。
Dependencies
  • 依赖 EA_Core 核心引擎
Autoruntrue
LicenseMIT

Action-Echarts-Manager

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/echarts/Action-Echarts-Manager.md
NameEcharts 图表生成面板
Authorymjr
Version1.3.1
SourceFile on GitHub
Description动作脚本:唤起 Echarts 图表可视化编辑器,基于选中的文字生成图表、原地编辑现有图表或插入新图表。
Usage选中 CSV / Excel 制表符数据文本可生成多系列图表;选中已有图表可原地编辑,未选择时新建。可在编辑器中切换对比、堆叠、混合双轴及更多图表。
Features
  • 提供数据表格双向绑定的交互式面板与实时交互预览
  • 支持多系列、堆叠、混合双轴、XY 散点、雷达、漏斗、仪表盘、玫瑰及常见图表
  • 支持快捷主题色与推荐配色一键应用
  • 选中已有图表时支持原地无损读取与更新
  • 支持自定义 Echarts JSON 配置项
  • 取消编辑保留原文本,保存成功后才替换文本
Dependencies
  • 必须配合 Feature-Echarts-Engine 1.3.1 或更高版本使用
Autorunfalse
LicenseMIT

Feature-Echarts-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/echarts/Feature-Echarts-Engine.md
NameEcharts 核心引擎
Authorymjr
Version1.3.1
SourceFile on GitHub
Description后台引擎:提供 Echarts 图表生成所需的完整离线库渲染、双击编辑、实时预览、粘贴拦截与 SVG 导出支持。
Usage后台常驻引擎。解决 Excalidraw 原生不支持复杂数据可视化的问题,为 Echarts 图表提供底层 API 支持、实时可视化编辑和画布上的 iframe 渲染能力。
Features
  • 注入完整的 Apache Echarts 离线渲染内核与实时预览支持
  • 彻底修复画布渲染时 contentEl 为空的报错,全面适配最新插件生命周期
  • 拦截画布双击事件,双击图元即可无缝唤起高级可视化编辑器进行原地修改
  • 自适应双栏编辑器,表格与批量文本页签切换、固定操作栏、实时预览及输入错误提示
  • 多系列分组与堆叠、柱线混合与双轴、XY 散点、雷达、漏斗、仪表盘与玫瑰图
  • 拦截 onPaste 钩子,支持直接粘贴表格或数据自动唤起生成
  • CSV / TSV 表头与引号解析、系列命名配色、坐标轴标题、数据缩放及完整配置往返编辑
  • 拦截 renderElementToSvg 支持带图表的画板离线导出
Dependencies
  • 独立运行,供 Action-Echarts-Manager 动作脚本调用
Autoruntrue
LicenseMIT

Action-Export-Image-To-Anki

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/export/Action-Export-Image-To-Anki.md
Name导出至 Anki
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将当前选中的元素或图片快速生成带有正面文本的 Anki 卡片。
Usage选中画板元素后运行,弹出非模态悬浮窗(可拖拽标题栏移动),不影响画板操作。
Features
  • 悬浮非模态 UI 面板(支持自由拖拽)
  • 导出失败时智能提示检查 AnkiConnect 服务
LicenseMIT

Action-Export-Image-To-Eagle

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/export/Action-Export-Image-To-Eagle.md
Name导出至 Eagle
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将当前选中的元素或纯图片快速推送保存至 Eagle 灵感库。
Usage选中画板元素后运行,弹出非模态悬浮窗(可拖拽标题栏移动),不影响画板操作。
Features
  • 悬浮非模态 UI 面板(支持自由拖拽)
  • 自动识别纯图片直传,混合元素渲染 SVG 上传
  • 导出失败时智能提示检查 Eagle 软件与 API 状态
LicenseMIT

Feature-Export-Eagle

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/export/Feature-Export-Eagle.md
Name发送图片到 Eagle
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:在 Obsidian 的图片右键菜单中注入 "Send image to Eagle" 选项。
Usage后台常驻。自动在 Obsidian 的文件树和阅读模式图片右键菜单中增加快捷发送选项,支持读取 Markdown Frontmatter 标签并一键发送图片到本地 Eagle 客户端。
Features
  • 拦截 Obsidian `file-menu` 和全局 `contextmenu`
  • 通过 Eagle API 进行离线图片推送
Dependencies
  • 独立运行,需确保本地 Eagle 软件开启
Autoruntrue
LicenseMIT

Feature-Export-Embeddable

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/export/Feature-Export-Embeddable.md
Name导出 SVG 嵌入元素引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description处理 Obsidian 嵌入节点及网页 (Embeddable) 的离线截图渲染 (基于 html2canvas)。
Usage当需要在 Excalidraw 画板中导出含有外部网页或内部 Markdown 节点的 SVG 图像时,提供基于离线截图的渲染能力。
Features
  • 自动拦截 SVG 渲染过程
  • 使用 html2canvas 将 Embeddable 节点(包括 HTTP 外部网页和本地 Obsidian 节点)转换为 Base64 图片
  • 将生成的图片嵌入到最终导出的 SVG 节点树中
Dependencies
  • 无(自带 html2canvas 注入)
Autoruntrue
LicenseMIT

Action-Follow-Arrow-Backward

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/follow/Action-Follow-Arrow-Backward.md
Name逆向溯源箭头
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:逆向沿箭头轨迹平滑移动视角至起始元素,并记录历史位置以供返回。
Usage选中一个箭头或箭头指向的末端元素,运行此脚本,视角将沿着箭头轨迹动画逆向滑动到起点元素。
Features
  • 动态计算缩放比例和平移步长,实现平滑的电影级运镜效果
  • 自动将当前视图状态推入 `ExcalidrawAutomate.plugin._ymjr_linkOrigin` 栈,支持后续快速回退
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Follow-Arrow-Forward

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/follow/Action-Follow-Arrow-Forward.md
Name顺向跟随箭头
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:沿箭头轨迹平滑移动视角至目标元素,并记录历史位置以供返回。
Usage选中一个箭头或箭头起始端的元素,运行此脚本,视角将沿着箭头轨迹动画顺向滑动到终点元素。
Features
  • 动态计算缩放比例和平移步长,实现平滑的电影级运镜效果
  • 自动将当前视图状态推入 `ExcalidrawAutomate.plugin._ymjr_linkOrigin` 栈,支持后续快速回退
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Boolean-Operations

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Boolean-Operations.md
Name高保真布尔运算 (Boolean Operations)
Authorymjr
Version1.0.1
SourceFile on GitHub
Description基于渲染缓存的布尔运算工具,支持合并、相交、差集等操作,完美保留自定义箭头的轮廓。
Usage选中至少两个图形(包括原生矩形/圆/菱形以及带有自定义路径的箭头),运行此脚本,选择布尔运算类型,生成完美的 SVG 合并路径。
Features
  • 路径精准提取:绕过 Rough.js 的混乱描边,提取底层的填充轮廓或渲染缓存,确保几何准确
  • 智能几何生成:对原生图形采用纯数学多边形生成,杜绝草图交叉线导致的布尔崩溃
  • SVG 路径输出:布尔结果转化为轻量化 SVG Path (M...Z),极大优化渲染性能并消除内部拼接缝隙
  • 多语言支持:自动跟随 Obsidian 环境切换中英文提示
Dependencies
  • 依赖插件自带的 PolyBool 引擎
Autorunfalse
LicenseMIT

Action-Bullet-Manager

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Bullet-Manager.md
Name序号标签控制面板
Authorymjr
Version1.0.0
SourceFile on GitHub
Description呼出或关闭序号标签(Bullet)设置面板,控制开启/关闭及样式
Usage点击运行,屏幕弹出悬浮控制面板。可在其中设置序号样式并保存至配置。
Autorunfalse
LicenseMIT

Action-Generate-Cuboid

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Cuboid.md
Name生成长方体 (Floating UI)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description带有浮动面板和实时预览的长方体生成工具
Usage运行脚本后弹出浮动面板,调节参数实时预览,点击确认生成。
Features
  • 友好的原生风格浮动UI界面
  • 实时预览长方体效果(不污染撤销历史)
  • 支持透视虚线显示
  • 状态隔离,防止全局变量污染
LicenseMIT

Action-Generate-Digital-Clock

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Digital-Clock.md
NameDigital
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Generate-Digital-SVG

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Digital-SVG.md
NameDitital(svg)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:自动生成对应的图形元素。
Usage运行此脚本生成图形。
Features
  • 自动计算并生成图形
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Generate-Grid-Selected

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Grid-Selected.md
Name选区阵列生成
Authorymjr
Version1.0.0
SourceFile on GitHub
Description根据当前选中的元素群体,批量复制并生成网格阵列,支持带公式的智能间距。
Usage选中画板中的一个或多个元素,运行脚本后在面板中配置行列数和间距。被选中的元素将作为基础单元被克隆为二维阵列。
Features
  • 精确处理复制元素的内部嵌套关系与绑定ID
  • 自动将新生成的阵列进行合理的 Group 分组
  • 支持带 width/height 变量的间距公式
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Generate-Grid

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Grid.md
Name生成图形网格
Authorymjr
Version1.0.0
SourceFile on GitHub
Description批量生成矩形、圆形、菱形或多边形网格阵列,间距支持动态公式。
Usage运行脚本,打开“万能网格生成器”面板,配置行列数、形状类型、尺寸与间距。支持拖拽面板预览生成的网格结果。
Features
  • 可视化 GUI 面板控制网格生成参数
  • 支持基础形状(矩形、圆形、菱形)以及自定义多边形生成
  • 间距支持利用 width / height 变量进行数学公式计算(如 "width * 0.5")
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Generate-Parallelogram

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Parallelogram.md
Name生成平行四边形
Authorymjr
Version1.0.0
SourceFile on GitHub
Description在鼠标位置生成可调节角度和边长的平行四边形,支持整体旋转。
Usage运行脚本,打开“平行四边形生成器”面板,调整两条相邻边的长度、内角大小以及形状整体旋转角度。
Features
  • 实时更新的悬浮 UI 面板
  • 基于三角函数精确定位顶点并转换为闭合线段(line polygon)
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Generate-Polygon

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Polygon.md
Name生成多边形
Authorymjr
Version1.0.0
SourceFile on GitHub
Description强大的多边形生成工具,支持等边模式或自定义各边长度。
Usage运行脚本,通过多边形生成器 UI 面板配置边数和边长。可以选择“等边模式”或者手动输入以逗号分隔的各条边长度。
Features
  • 实时可视化预览生成任意多边形
  • 支持开启和关闭“等边模式”
  • 生成的结果为闭合线段,支持 Excalidraw 原生编辑
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Generate-Repeat-Selected

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Action-Generate-Repeat-Selected.md
Name智能重复元素
Authorymjr
Version1.0.0
SourceFile on GitHub
Description根据所选的最后两个相似分组,计算间距与文本变化模式,向后智能重复生成指定数量的元素群。
Usage选中画板中的最后两个具有相似结构的元素(或群组),运行脚本。在弹出的输入框中填入需要重复生成的次数。脚本会自动推断两者的位置间距和文本变化规律并进行外推。
Features
  • 基于深度优先搜索精确提取具有复杂嵌套关系的目标群组
  • 智能计算目标间的 X、Y 偏移量和文本数字的递增/递减步长
  • 新生成的阵列能保持原始的 Group 分组逻辑和容器绑定状态
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Feature-Bullet-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/generate/Feature-Bullet-Engine.md
Name序号标签核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截鼠标点击并自动生成序号标签
Usage后台常驻引擎。与 Action-Bullet-UI 配合使用。
Features
  • 拦截 handleCanvasPointerDown 在鼠标点击位置生成序号容器
  • 修复坐标 Infinity 报错,并支持多语言
  • 实时读取 UI 修改的 tempSettings,支持多颜色循环
Dependencies
  • Action-Bullet-UI
Autoruntrue
LicenseMIT

Action-Toggle-GIF

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/gif/Action-Toggle-GIF.md
Name切换GIF动画标记
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将选中的图片或元素标记为可控制的 GIF 动画帧(再次运行可取消)。
Usage选中画板中的图片或元素,运行此脚本。选中的元素将被注入 customData.gif 标识,从而被 GIF 引擎接管。再次运行即可取消标记。
Features
  • 自动向元素注入或移除 customData.gif 标识
  • 自动清除元素的图片缓存以便引擎接管
Dependencies
  • 必须依赖 [Feature-GIF-Engine] 核心引擎常驻后台提供键盘步进与悬浮 UI 控制
Autorunfalse
LicenseMIT

Feature-GIF-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/gif/Feature-GIF-Engine.md
NameGIF 逐帧控制引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截逗号和句号快捷键,并提供悬浮 UI,实现被标记元素的 GIF 逐帧播放与控制。
Usage后台常驻引擎。选中带有 GIF 标记的元素后,按 , (逗号) 上一帧,按 . (句号) 下一帧。
Features
  • 增加 try-catch 生命周期保护,避免热重载崩溃
  • 拦截 handleCanvasPointerUp 识别选中状态并挂载交互面板
  • 拦截 onKeyDown 实现快捷键步进切换
Dependencies
  • 与 Action-Toggle-GIF 配合使用
Autoruntrue
LicenseMIT

Action-Gradient-Silent

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/gradient/Action-Gradient-Silent.md
Name渐变色填充 (静默版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:一键为选中的元素应用或取消默认的渐变色配置,适合绑定快捷键使用。
Usage选中画板中的一个或多个元素,运行此脚本即可一键应用默认的渐变色。再次运行可一键取消(Toggle 切换)。
Features
  • 静默读取全局默认的 `gradientDefaults` 配置
  • 动态在元素的 `customData.gradient` 中注入相应的底层 Canvas 绘制脚本指令
Dependencies
  • 必须依赖 [Feature-Gradient-Engine] 后台引擎进行最终的渲染与 SVG 导出拦截
Autorunfalse
LicenseMIT

Action-Gradient-UI

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/gradient/Action-Gradient-UI.md
Name渐变色高级配置面板
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:强大的渐变色编辑器,支持实时预览、多节点色标控制、径向渐变选择,并可从选中元素反向读取状态。
Usage运行此脚本呼出高级渐变色控制面板。支持可视化选择渐变方向、添加/删除/拖拽多个色标点。如果打开面板时已选中带有渐变的元素,面板会自动反向读取其渐变配置以供修改。
Features
  • 提供可视化的多节点颜色与进度百分比 (`offset`) 调节
  • 支持线性(水平、垂直、对角)及径向(中心发散)渐变
  • 支持将用户的配置转化为底层 Canvas 指令脚本存入元素的 `customData.gradient`
Dependencies
  • 必须依赖 [Feature-Gradient-Engine] 后台引擎进行最终的渲染与 SVG 导出拦截
Autorunfalse
LicenseMIT

Feature-Gradient-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/gradient/Feature-Gradient-Engine.md
Name渐变色渲染核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供对图形与文本元素的渐变色渲染支持(包含 Canvas 实时渲染与 SVG 导出支持)。
Usage作为前置依赖运行,支持在图形与文本元素的 customData 中解析 gradient 数据,并将其渲染为渐变色。
Features
  • 拦截 Canvas 渲染,使用 Proxy 无污染解析用户的渐变配置
  • 支持图形和文本的 Canvas 实时渐变渲染
  • 拦截 SVG 导出,在 SVG root 中自动生成 defs 并替换 fill url,实现 SVG 离线完美导出
Dependencies
  • 供 Action-Gradient-UI 等生成渐变配置数据的脚本作为底层的渲染引擎配合使用
Autoruntrue
LicenseMIT

Action-Toggle-Hover

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/hover/Action-Toggle-Hover.md
Name阴影与交互设置
Authorymjr
Version1.0.0
SourceFile on GitHub
Description强大的多图层视觉控制器。独立管理“静态长亮阴影”与“悬停交互效果”,支持无限叠加图层。
Usage选中画板中的任意元素,运行此脚本打开阴影与交互设置面板,可以为元素添加静态常驻阴影或鼠标悬停时的阴影/发光效果。
Features
  • 提供可视化的多图层阴影管理器UI面板
  • 支持分别为元素配置“静态常亮阴影”和“鼠标悬停特效”
  • 支持向 customData 中注入 shadow 和 hover 配置
Dependencies
  • 依赖 Feature-Hover-Engine 处理鼠标移动与悬停渲染
Autorunfalse
LicenseMIT

Feature-Hover-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/hover/Feature-Hover-Engine.md
NameHover 交互引擎 (状态管理)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description全局状态机。检测鼠标悬停事件,解析 target 目标,并自动控制鼠标光标形态。
Usage作为前置依赖运行,用于监听 Excalidraw 的鼠标悬停事件(PointerMove),主要服务于那些需要在光标悬停时改变形态或触发特效的脚本。
Features
  • 维持全局的 Hover 状态机(activeIds 和 triggerId)
  • 解析 hover 自定义数据中的 target 目标
  • 控制 Excalidraw 画布中鼠标指针的样式(如变手型)
Dependencies
  • 无前置依赖
  • 为其他交互型脚本提供基础支持(如 Collapse, Mindmap, 连线高亮等)
Autoruntrue
LicenseMIT

Action-Icon-Library

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/icon/Action-Icon-Library.md
Name图标库管理器 (Icon Library)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description现代矢量与多色图标库管理面板。支持指定本地图标库路径、多分类与模糊搜索、多色/单色矢量 Path (方案 1.2 svgLayers) JIT 按需插入画布。
Usage运行脚本呼出图标库选择面板。可使用全键盘操作:键入关键词模糊搜索、上下左右键选择、Enter 键一键将图标插入到当前画布中心。
Features
  • 原生支持单色与多色图标 (方案 1.2: svgLayers 多图层 Path 渲染)
  • 本地文件夹即真理源,支持自定义本地图标路径 (Vault 文件夹)
  • 智能提取多图层颜色与 ViewBox,无缝缩放与手绘/精准风格切换
  • 媲美现代组件库 (Figma / Raycast) 的极致 UI 与全键盘交互
Dependencies
  • 独立运行
Autorunfalse
LicenseMIT

Action-Convert-Freedraw-To-Latex

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/latex/Action-Convert-Freedraw-To-Latex.md
Name手写转公式
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将选中的手写笔迹通过 SimpleTeX 转换为 LaTeX 公式,带有美观的交互界面。
Usage选中画板中的手写笔迹,运行此脚本即可进行转换并在悬浮面板中确认。
Features
  • 现代化美观的 HTML 悬浮面板 UI/UX
  • 支持公式的二次编辑与校验
  • 桌面端使用 Node 原生 https 保障绝对稳定,自动处理乱码或换行符问题
  • 优雅处理上下文引用,防止焦点切换导致画布报错
Autorunfalse
LicenseMIT

Action-Extract-Latex

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/latex/Action-Extract-Latex.md
Name 提取文本内的 LaTeX
Author ymjr (Modified)
Version 1.0.0
Source File on GitHub
Description 动作脚本:自动将选中文字中的 $公式$ 提取分离,并原位生成支持缩放的 LaTeX 元素。
Usage 选中包含 $...$ 包裹的数学公式的文本元素,运行此脚本。脚本会自动将文本切割,并将由 $包裹的内容提取为原生的 Excalidraw LaTeX 元素,保持相对位置不变。
Features
  • 自动正则匹配解析 `$公式$`,将文本打断并重组
  • 完美继承原文本的字号、字体与颜色,并根据缩放率 (`scale`) 自动适应公式大小
  • 修复 `$$` 空解析崩溃问题,全面兼容固定宽度的多行文本换行
Dependencies
  • 无依赖
Autorun false
License MIT

Action-Toggle-Layer

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/layer/Action-Toggle-Layer.md
Name切换图层控制面板
Authorymjr
Version1.0.0
SourceFile on GitHub
Description开关图层控制 UI 界面。支持直观分配图层、自定义删除UI确认、切换作画目标层。
Usage运行此脚本,画布右侧将弹出或关闭“图层控制面板”。通过面板可以切换当前活动图层、新建图层、控制图层元素的显示/隐藏/锁定状态,以及将选中元素一键移入指定图层。
Features
  • 基于 React 构建的高性能悬浮拖拽控制面板
  • 支持图层元素的“可见性👁️”和“可交互性🔒”独立控制
  • 选中目标后,点击“📥”按钮可快速转移元素图层归属
  • 带二次确认保护的自定义图层安全删除逻辑
Dependencies
  • 必须依赖 [Feature-Layer-Engine] 核心引擎脚本
Autorunfalse
LicenseMIT

Feature-Layer-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/layer/Feature-Layer-Engine.md
Name图层控制核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供图层显示、隐藏、不可选拦截(修复点击击穿问题),以及新元素的自动图层归属。
Usage作为图层功能的基础常驻后台。通过拦截底层鼠标事件(shouldSelectElement)和元素更新事件(replaceAllElements),实现真实意义上的图层锁定与新元素图层自动归属。
Features
  • 拦截 shouldSelectElement 彻底修复 Excalidraw 原生的点击击穿隐患
  • 拦截 replaceAllElements 为当前活动层中新创建的元素自动赋予 `customData.layer` 属性
  • 独立状态管理(_ymjr_layer_engine),防止与其他脚本状态相互污染
Dependencies
  • 供 Action-Toggle-Layer-UI 面板调用并消费其数据结构
Autoruntrue
LicenseMIT

Action-Dynamic-Library

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/library/Action-Dynamic-Library.md
Name动态素材库管理器
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动态加载或卸载 Excalidraw 素材库 (跨窗口持久化记录,智能重建防误删)。
Usage运行脚本呼出面板。全键盘操作:输入过滤 -> 上下键选择 -> 回车智能切换(加载/卸载) -> Esc退出。
Features
  • 利用全局 Map 跨窗口持久化记录当前会话已加载的素材库
  • 去除危险的 Replace 模式,采用安全重组内存的方式实现卸载
  • 支持回车或双击智能 Toggle (加载/卸载)
LicenseMIT

Action-Load-Library-To-Canvas

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/library/Action-Load-Library-To-Canvas.md
Name加载素材库到画布
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将 .excalidrawlib 素材库中的所有 item 以网格状平铺加载到画布,并在各组件上方自动标注名称与描述。
Usage运行脚本呼出素材库加载面板,选择或输入 .excalidrawlib 文件路径,配置网格列数与间距后,一键将库中所有组件呈网格状平铺排布到画布,并在组件上方添加文字标注。
Features
  • 完整解析 .excalidrawlib 素材库中的 libraryItems 列表(兼容 v1 与 v2 格式)
  • 智能计算各素材组件的几何外接包围盒 (Bounding Box)
  • 网格流式布局:x + width + margin 沿水平方向依次展示下一个 item,支持自适应换行
  • 提取 item 的 name 与 description,在组件上方自动排版并添加标题与描述文本
  • 自动克隆图元并重置所有 ID、内部 Group 及绑定引用,并为每个 item 创建组合群组
  • 提供美观的图形交互面板,支持模糊搜索素材库、自定义列数、行列间距与排布模式
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Feature-Calendar-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/library/Feature-Calendar-Engine.md
Name日历与组件库解析引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截组件库粘贴事件,提供精美的日期选择 UI 并自动解析日历占位符及图片水合。
Usage后台常驻,当从素材库拖入带有 customData.calendar 的元素时触发。
Features
  • 拦截 addElementsFromPasteOrLibrary 钩子
  • 提供现代化的 HTML 悬浮日期选择器
  • 自动计算文本宽度并重新对齐日历元素
Dependencies
  • 依赖 EA_Core 核心引擎运行
Autoruntrue
LicenseMIT

Feature-Library-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/library/Feature-Library-Engine.md
Name素材库高级增强
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截素材添加动作,支持素材命名,并在素材库中渲染 Obsidian 相对路径的本地图片。
Usage后台常驻引擎,彻底解决 Excalidraw 素材库无法预览 Obsidian 本地图片以及素材无法命名的问题。
Features
  • 拦截 `onBeforeAddToLibrary` 钩子,提供命名悬浮窗并将图片转为 `customData.imageLib` 相对路径存储
  • 拦截 `onLibraryUnitHydrate` 异步解析路径并向素材库面板注入 Base64 图片预览流
Dependencies
  • 独立运行
Autoruntrue
LicenseMIT

Action-Toggle-Line-Highlight

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/line-highlight/Action-Toggle-Line-Highlight.md
Name切换连线高亮状态
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将选中的连线或箭头标记为高亮状态(再次运行可取消)。
Usage选中画板中的连线、箭头,或者任何绑定了箭头的图形节点,运行此脚本。选中的连线将被赋予高亮发光效果。再次运行即可取消高亮状态。
Features
  • 智能识别并遍历选中元素上绑定的所有连线
  • 自动向元素注入或移除 customData.highlightLine 标识
Dependencies
  • 必须依赖 [Feature-Highlight-Line] 核心引擎常驻后台进行发光特效渲染
Autorunfalse
LicenseMIT

Feature-Line-Highlight-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/line-highlight/Feature-Line-Highlight-Engine.md
Name高亮连线核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供光标变化、选中识别与粗体发光渲染。
Usage后台常驻引擎,专门负责寻找并渲染带有 customData.highlightLine 标记的连线元素。
Features
  • 拦截 handleCanvasPointerMove 实现鼠标悬停在发光连线时自动变手型
  • 拦截 handleCanvasPointerUp 动态追踪当前活动选中的发光连线及其绑定的上下游
  • 拦截 _renderInteractiveScene 利用 Rough.js 实时绘制多层描边的荧光发光效果
Dependencies
  • 与 Action-Toggle-LineHighlight 配合使用
Autoruntrue
LicenseMIT

Action-Return-Link-Origin

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/link/Action-Return-Link-Origin.md
Name返回上一个链接源
Authorymjr
Version1.0.0
SourceFile on GitHub
Description配合链接增强引擎,像浏览器后退一样跳转回点击链接前的位置。
Usage当使用链接进行同文件内或跨文件的跳转后,运行此脚本即可像浏览器的“返回/后退”一样,让画板视野重新聚焦到跳转发生前点击的那个元素。
Features
  • 消费由 [Feature-Link-Handler] 记录在全局的跳转历史堆栈 (`ExcalidrawAutomate.plugin._ymjr_linkOrigin`)
  • 触发返回后自动带动画缩放 (zoomToFit) 并选中该原点元素以供视觉提示
Dependencies
  • 必须依赖 [Feature-Link-Handler] 核心引擎进行前置跳转监听
Autorunfalse
LicenseMIT

Feature-Link-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/link/Feature-Link-Engine.md
Name链接跳转增强引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:接管链接点击事件,支持同文件内锚点平滑跳转、跨文件智能打开,并带有去重防抖与历史记录功能。
Usage后台常驻引擎,彻底接管并改造 Excalidraw 原生的链接点击行为。支持同文件内的元素锚点平滑导航(带选中效果),以及更智能的跨文件链接打开逻辑(规避 HoverEditor 干扰)。
Features
  • 拦截 onLinkClick 事件进行二次路由重定向
  • 独创的 500ms 时空防抖,完美屏蔽底层插件导致的多次重复触发 bug
  • 跳转前自动向全局栈 (`ExcalidrawAutomate.plugin._ymjr_linkOrigin`) 压入跳转历史,实现后退功能
  • 智能感知同文件内的块/组引用跳转 (`#^group=xxx`) 并执行平滑缩放 `viewZoomToElements`
Dependencies
  • 作为 Action-Return-Link-Origin (后退) 动作的强依赖环境
Autoruntrue
LicenseMIT

Action-Toggle-List

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/list/Action-Toggle-List.md
Name触发智能列表配置
Authorymjr
Version1.0.0
SourceFile on GitHub
Description唤起悬浮UI工具栏,对选中的元素实时应用列表样式标记。
Usage选中元素后运行脚本唤起工具栏。
Features
  • 判断选中元素并唤起 UI 悬浮岛
Dependencies
  • 必须依赖 [Feature-SmartList-Engine] 核心引擎常驻后台提供渲染逻辑
Autorunfalse
LicenseMIT

Feature-Smart-List-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/list/Feature-Smart-List-Engine.md
Name智能列表核心引擎 (实时渲染版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:基于 renderStaticScene 实时在元素旁绘制列表序号,不产生多余实体元素。
Usage后台常驻引擎,为 Action 提供运行环境与实时 Canvas 渲染能力。
Features
  • 拦截 renderStaticScene 实时绘制列表标号(支持跟随旋转)
  • 拦截 handleCanvasPointerUp 实现元素取消选中时自动销毁悬浮岛 UI
Dependencies
  • 无
Autoruntrue
LicenseMIT

Action-Change-Mindmap-Style

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Action-Change-Mindmap-Style.md
Name修改脑图样式
Authorymjr
Version1.1.1
SourceFile on GitHub
Description弹出脑图样式与排版配置面板,支持修改当前选中脑图或全局默认配置。
Usage选中脑图的根节点运行,修改当前脑图的样式;不选任何元素运行,则修改全局新建脑图的默认样式配置。
Features
  • 提供可视化的脑图主题与排版编辑器UI
  • 支持修改展开方向、连线样式、节点间距和连线长度
  • 提供多套预设主题并支持自定义颜色与层级样式
Dependencies
  • 依赖 Feature-Mindmap_Engine 提供后台渲染与自动排版支持
Autorunfalse
LicenseMIT

Action-Create-Mindmap

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Action-Create-Mindmap.md
Name初始化脑图配置
Authorymjr
Version1.1.2
SourceFile on GitHub
Description将普通的连线节点组合转化为受引擎控制的脑图结构,并赋予默认样式。
Usage选中希望作为脑图根节点的元素(也可以只选中一个),运行脚本后在弹窗中配置排版方向与主题,即可一键生成结构化脑图。
Features
  • 自动递归遍历与根节点相连的元素,注入 mindmap 配置与层级结构
  • 提供可视化的脑图初始化配置面板
  • 基于所选主题自动应用节点颜色与连线样式
Dependencies
  • 依赖 Feature-Mindmap_Engine 引擎进行排版
Autorunfalse
LicenseMIT

Action-Detach-Mindmap

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Action-Detach-Mindmap.md
Name解除脑图属性
Authorymjr
Version1.1.2
SourceFile on GitHub
Description将选中元素及其子节点从脑图结构中脱离,转换为普通元素,并修复原脑图排版。
Usage选中要解除的脑图节点,运行该脚本即可。

Action-Export-Mindmap-To-Clipboard

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Action-Export-Mindmap-To-Clipboard.md
Name复制脑图为Markdown
Authorymjr
Version1.1.2
SourceFile on GitHub
Description将选中的脑图导出为层级结构的 Markdown 列表文本,并复制到剪贴板。
Usage选中脑图节点,运行此脚本即可将整棵树导出为 Markdown 文本到剪贴板。
Features
  • 递归遍历脑图节点结构
  • 将脑图节点内容转换为无序列表与标题格式
  • 按画布Y坐标顺序导出同级节点
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Export-Mindmap-To-Md

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Action-Export-Mindmap-To-Md.md
Name导出脑图为Markdown文件
Authorymjr
Version1.1.1
SourceFile on GitHub
Description将选中的脑图导出为层级结构的 Markdown 列表文本,并保存为文件。
Usage选中脑图节点,运行此脚本即可将整棵树导出并保存为一个新的 Markdown 文件到当前文件夹中。
Features
  • 递归遍历脑图节点并转换为 Markdown 结构
  • 弹窗询问并支持自定义导出的文件名
  • 自动创建或覆盖同名 md 文件
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Import-Mindmap-From-Clipboard

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Action-Import-Mindmap-From-Clipboard.md
Name从剪贴板导入脑图
Authorymjr
Version1.1.1
SourceFile on GitHub
Description将剪贴板中的 Markdown 列表文本解析为层级树结构,并在当前画布生成带样式的脑图。
Usage复制任意 Markdown 列表文本,运行此脚本。在弹出的面板中选择需要的排版方向、连线样式和主题配色,确认后脚本将在画布中心自动生成完整的脑图。
Features
  • 自动解析剪贴板内的 Markdown 缩进结构为 JSON Tree
  • 支持调用 Feature-Mindmap_Engine 引擎进行完美的脑图渲染和布局
  • 提供可视化的生成前配置面板
Dependencies
  • 必须依赖 Feature-Mindmap_Engine 提供后台渲染与自动排版支持
Autorunfalse
LicenseMIT

Action-Rescue-And-Show-Mindmap

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Action-Rescue-And-Show-Mindmap.md
Name解绑选中并强显全图脑图(深度联动版)
Authorymjr
Version1.2.1
SourceFile on GitHub
Description动作脚本:一键清除选中节点的附加数据,并全图深度扫描恢复所有隐形脑图节点、同组元素、绑定元素的可见性。
Usage当脑图因异常操作导致部分子节点、文字、同组图标、外框或连线无故“消失”隐形,或者需要重构时运行。
Features
  • 深度联动扫描:自动将脑图节点、其内部文本、同组(Group)的所有图元、绑定的所有线缆和图形全部解除隐藏
  • 清除当前选中元素的所有 `customData` 状态,解除引擎绑定
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Feature-Mindmap-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/mindmap/Feature-Mindmap-Engine.md
Name脑图核心引擎
Authorymjr
Version1.1.2
SourceFile on GitHub
Description后台引擎:提供脑图折叠、排版、快捷键创建节点及实时高亮渲染。
Usage后台常驻引擎,为带有 customData.mindmap 的元素提供折叠展开的右上角图标绘制,实现回车和 Tab 键的快捷节点生成与连线,实现方向键导航节点,以及监听节点的增删实现自动排版。
Features
  • 拦截 handleCanvasPointerDown/Up 实现点击展开/折叠按钮
  • 拦截 onKeyDown 实现键盘方向键漫游脑图、Tab/Enter 快速新建节点、/键 折叠展开、空格键开始编辑
  • 拦截 _renderInteractiveScene 在脑图根节点与父节点上绘制圆圈数字图标
  • 提供 window.MindmapAPI 供脑图动作脚本调用进行连线刷新与布局重排
Dependencies
  • 被所有脑图相关的 Action 脚本依赖
Autoruntrue
LicenseMIT

Action-Set-Outline-Level

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/outline/Action-Set-Outline-Level.md
Name设置大纲层级标记 (Action)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description使用友好的现代面板为选中的元素设置或移除大纲标记。
Usage选中元素后运行此脚本,弹出专属设置面板。
Autorunfalse
LicenseMIT

Action-Toggle-Outline

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/outline/Action-Toggle-Outline.md
Name切换大纲视图 (UI)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description开启或关闭大纲悬浮面板,支持彩虹缩进引导线。
Usage运行开启/关闭。基于 React 18 驱动。
Autorunfalse
LicenseMIT

Feature-Outline-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/outline/Feature-Outline-Engine.md
Name大纲核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供 Excalidraw 大纲数据的解析、清洗、智能探测与统一定位算法。
Usage后台常驻,不提供可见UI。
Features
  • 智能探测画布中的大纲模式
  • 注册全局命名空间 ExcalidrawAutomate.plugin._ymjr_outline
Autoruntrue
LicenseMIT

Action-Recognize-Shape

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/recognize/Action-Recognize-Shape.md
Name智能手绘工具箱 (整合版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提供自动识别画笔锁定开关,以及针对选中元素的手动强制转换面板。
Usage呼出工具箱。点击顶部开关可锁定画笔,接下来画的手绘线延迟 0.5s 自动变规则图形;选中已有手绘也可手动转换。
Dependencies
  • 必须依赖 [Feature-Shape-Engine] 核心引擎常驻后台
Autorunfalse
LicenseMIT

Feature-Shape-Recognize-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/recognize/Feature-Shape-Recognize-Engine.md
Name几何规则化引擎 (后台计算层)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供纯粹的数学转化算法与 PointerUp 拦截器。
Usage后台常驻。通过 Action 面板来控制自动模式的开关或执行手动转换。
Features
  • 核心几何拉直剔除算法
  • 拦截 handleCanvasPointerUp,智能抓取 elements 数组最后一个元素进行防抖转换
Dependencies
  • 与 Action-Convert-Shape 配合使用
Autoruntrue
LicenseMIT

Action-Todo-Manager

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/reminder/Action-Todo-Manager.md
NameTodo与提醒事项管理器
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提供友好的可视化面板,将选中的文本转化为待办提醒,并一键同步至 Eve TodoList。
Usage选中画板中的文本元素,运行此脚本将唤起 Todo 管理面板进行时间分配与云端同步。
Features
  • 美观的 HTML 悬浮 UI 面板,替代原生 Modal
  • 动态获取上下文,完美适配多栏分屏与 Excalidraw / MD 混合工作流
  • 自动管理与解析 `- [ ] task (@date)` 格式
Dependencies
  • 依赖网络请求 (需允许跨域访问 Eve Studio API)
Autorunfalse
LicenseMIT

Action-Advanced-Select

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/select/Action-Advanced-Select.md
Name高级元素筛选器 (Table Builder版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description带有实时感知和多级联动的表格化条件筛选器。
Usage开启后常驻,支持多级联动条件。当鼠标在画布上重新选择范围时,会自动更新基准范围。
Dependencies
  • 依赖 EA_Core 的 handleCanvasPointerUp 钩子来感知手动选择。
LicenseMIT

Action-Toggle-Shadow

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/shadow/Action-Toggle-Shadow.md
Name阴影与交互设置
Authorymjr
Version1.0.0
SourceFile on GitHub
DescriptionUI 面板:强大的多图层视觉控制器。独立管理“静态长亮阴影”与“悬停交互效果”,支持无限叠加图层。
Usage选中任意图形或文本,运行此脚本唤起“阴影特效与交互编辑器”。你可以配置无限层的静态投影,或者设置鼠标 Hover 时的动态效果。面板参数将实时应用到选中元素上。
Features
  • 提供极其强大的 GUI 面板,支持添加/删除多级阴影图层,以及控制鼠标悬停时的缩放、偏移和替换样式
  • 将所有状态精确注入到元素的 `customData.shadow` 和 `customData.hoverInfo` 字段
Dependencies
  • 必须依赖 [Feature-Shadow-Engine] 进行底层 Canvas 渲染
  • 可选依赖 [Feature-Hover-Engine] 提供交互式悬停响应
Autorunfalse
LicenseMIT

Feature-Shadow-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/shadow/Feature-Shadow-Engine.md
NameShadow 渲染引擎 (视觉层)
Authorymjr
Version1.0.1
SourceFile on GitHub
Description后台引擎:提供多图层阴影渲染。精准读取元素的静态 shadow 配置,并与 Hover 引擎无缝联动。
Usage后台常驻引擎。读取并解析元素上的 `customData.shadow` 配置数组,利用 Canvas Context 原生绘制支持模糊和无限叠加的阴影效果。
Features
  • 拦截 `drawElementOnCanvasTextBefore` 和 `drawElementOnCanvasTextAfter` 钩子
  • 完美适配基于 Excalidraw 放缩倍率 (`zoom`) 的阴影自适应
  • 无缝承接 `Feature-Hover-Engine` 推送过来的 Hover/Click 覆盖样式 (`_hoverActive` / `_clickActive`)
Dependencies
  • 作为基础视觉引擎,被 Action-Toggle-Shadow 调用
Autoruntrue
LicenseMIT

Action-Transform-Size

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/size/Action-Transform-Size.md
Name高级尺寸变换 (Advanced Size Transform)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提供美观的悬浮面板,用于一键统一元素宽度、等比例缩放、对齐盒模型尺寸及修改选中文字大小。
Usage选中元素后在悬浮面板中点击对应的操作按钮。面板支持拖拽移动,再次运行此脚本可关闭面板。
Features
  • 美观的 HTML 悬浮面板(不阻挡原生右键菜单)
  • 完美解决多屏/多视图焦点切换导致 ea 作用域丢失的问题
  • 支持快捷缩放(±10%)、按最大/小宽度统一、矩形/菱形/椭圆完全统一、字号快捷设定
Autorunfalse
LicenseMIT

Action-Link-Smart-Art

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/smart-art/Action-Link-Smart-Art.md
NameSmartArt 实时生成器
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:选中模板容器或文本,输入缩进大纲,画布元素将【实时发生形变与替换】,所见即所得。
Usage选中画板上带有层级编号(如 1.1, 1.2)的文本节点,或包裹这些文本的图形容器。运行脚本将唤起“SmartArt 构建”浮动面板。在文本框内通过回车缩进键入大纲层级文本,画布中的图形和文字将根据大纲实时动态更新。
Features
  • 独立的纯净单栏 React 级重绘浮动面板
  • 支持穿透容器提取文字并绑定 Node ID
  • 随着输入内容实时刷新 `refreshTextDimensions` 以确保容器根据新文字内容自动撑开宽高
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Insert-Vertical-Space

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/space/Action-Insert-Vertical-Space.md
Name插入垂直空间
Authorymjr
Version1.0.0
SourceFile on GitHub
Description按需插入垂直空白空间。选中单一占位图形后运行此脚本,弹出美观的操作面板。
Usage选中画板中单一元素(如矩形)作为占位符,运行此脚本。点击界面按钮即可推开下方元素并删除占位符。
Features
  • 纯净的 Action 触发模式,随用随调,不污染日常点选
  • 美观的 HTML/CSS 玻璃拟态悬浮 UI
  • 支持全局下推与选区下推
Autorunfalse
LicenseMIT

Action-Step-Appear-Setup

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/step-appear/Action-Step-Appear-Setup.md
Name设置逐个显示序列
Authorymjr
Version1.0.0
SourceFile on GitHub
Description根据选中的连线(画笔)轨迹,自动为穿过的元素按顺序生成动画序列(Index)。智能识别群组与容器。
Usage使用画笔或连线穿过你需要做动画的元素,保持选中该连线并运行此脚本。
Dependencies
  • 配合 [Feature-StepAppear-Engine] 核心引擎使用
Autorunfalse
LicenseMIT

Feature-Step-Appear-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/step-appear/Feature-Step-Appear-Engine.md
Name逐个显示动画引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截 [ 和 ] 快捷键,并提供美观的悬浮 UI,实现画布元素的按序隐藏与显示。
Usage后台常驻引擎。按 [ 上一步,按 ] 下一步。
Features
  • 拦截 handleCanvasKeyDown 实现快捷键步进切换
  • 智能注入非破坏性、悬浮式 HTML 交互面板
  • 使用 customData.hide 原生控制可见性
  • 支持一键关闭并恢复所有元素可见性
Dependencies
  • 与 Action-Setup-StepAppear 配合使用
Autoruntrue
LicenseMIT

Action-Toggle-Swimlane

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/swimlane/Action-Toggle-Swimlane.md
Name切换泳道状态
Authorymjr
Version1.0.0
SourceFile on GitHub
Description将选中的矩形元素切换为泳道容器(再次运行可取消)。
Usage选中画板中的一个或多个矩形元素,运行脚本。在弹出的选择器中设置泳道主题色。选中的矩形将被转化为具有吸附和排版特性的泳道容器。再次运行脚本并选择“移除标记”可将其恢复为普通矩形。
Features
  • 可视化颜色选择与自定义 Hex 颜色输入
  • 向元素注入 `customData.swimlane` 及容器标记以供后台引擎识别
Dependencies
  • 必须依赖 [Feature-Swimlane-Engine] 核心引擎常驻后台提供渲染和交互逻辑
Autorunfalse
LicenseMIT

Feature-Swimlane-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/swimlane/Feature-Swimlane-Engine.md
Name泳道核心引擎
Authorymjr
Version1.0.1
SourceFile on GitHub
Description提供泳道的自定义渲染、彻底防干扰收起展开(PointerDown级拦截)、子元素跟随及标题自适应排版。
Usage后台常驻引擎,为带有 customData.swimlane 的矩形元素提供强大的容器行为模式。包括自动吞并移入的元素、双击展开/折叠、自适应标题高度等。
Features
  • 重写 `drawElementOnCanvas` 原生渲染管线以绘制半透明标题栏及发光边框
  • 实现基于物理碰撞的自动归属逻辑(元素拖入/拖出容器时的智能绑定)
  • 接管 `beforeDeleteSelectedElements` 彻底解决 Excalidraw 原生删除组导致的子元素误删问题
  • 支持复杂的多级嵌套泳道以及自适应折叠/展开算法
Dependencies
  • 供 Action-Toggle-Swimlane 调用来初始化容器数据
Autoruntrue
LicenseMIT

Action-Table-Generate

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/table/Action-Table-Generate.md
Name创建表格
Authorymjr
Version1.1.0
SourceFile on GitHub
Description打开原生表格创建面板;支持自动行高、固定行高省略和图片内容。
Usage先升级宿主并移除旧 Feature-Table-Engine / Feature-Table-Paste-MD,再运行此动作创建表格。
Dependencies
  • Excalidraw-ymjr 2.29.0-4 or later with native table support
Autorunfalse
LicenseMIT

Action-Table-Modify

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/table/Action-Table-Modify.md
Name修改表格行列
Authorymjr
Version1.1.0
SourceFile on GitHub
Description在当前逻辑单元格处插入行列,或打开表格属性面板。
Usage选中表格单元格后运行;先升级宿主并移除旧表格后台引擎。
Dependencies
  • Excalidraw-ymjr 2.29.0-4 or later with native table support
LicenseMIT

Action-Set-Tags

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/tag/Action-Set-Tags.md
Name高级标签管理面板
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:可视化的标签(Tags)编辑器,支持回车快速添加、点击移除,实时同步到选中元素。
Usage当需要对画布中的元素快速添加、移除或管理自定义标签(tags)时,点击运行唤起悬浮面板。
Features
  • 提供可拖拽的悬浮标签管理面板
  • 支持回车快速添加标签,并实时同步到当前选中元素的 customData 中
  • 支持点击快速移除标签,以及一键清除所有选中元素的标签
Dependencies
  • 无前置依赖
Autorunfalse
LicenseMIT

Action-Check-Unregistered-Fonts

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Check-Unregistered-Fonts.md
Name检测画布未注册字体 (Audit Canvas Fonts)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description深度扫描当前活动画布的所有文本元素,精准检测是否存在未注册或缺失的字体,并提供元素高亮定位、一键系统检索载入与批量字体替换功能。
Usage打开任意 Excalidraw 画布并运行此脚本。脚本将自动扫描画布所有文本元素,若发现未注册字体,面板将列出具体字体、受影响元素数量与样例文本,支持一键尝试从系统/Vault载入补全,或一键批量替换为已注册字体。
Features
  • 智能扫描当前画布所有文本元素的 fontFamily
  • 对比 Excalidraw 运行时注册表与内置字体标准列表
  • 清晰列出所有缺失字体家族、受影响元素总数与文字样张
  • 一键在画布中选中并高亮对应文本元素
  • 一键从操作系统/Vault检索并补全载入(支持自动存入 Vault 持久化)
  • 支持将缺失字体一键批量替换为画布现存可用字体
Autorunfalse
LicenseMIT

Action-Format-Text-Global-Silent

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Format-Text-Global-Silent.md
Name文本全局样式 (静默版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:一键为选中的文本元素应用/取消默认的全局字重或加粗。
Usage选中一个或多个文本元素,或包含绑定文本的图形容器,运行此脚本将静默(无弹窗)地应用 Excalidraw 插件设置中定义的“默认全局字重/加粗”。再次运行可取消。
Features
  • 智能穿透 `boundElements` 获取绑定的文本内容
  • 动态切换写入 `customData.bold` 和 `customData.font.weight`
Dependencies
  • 需要依赖 [Feature-Text-Render-Engine] 常驻底层来解析并渲染文字样式
Autorunfalse
LicenseMIT

Action-Format-Text-Globals

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Format-Text-Globals.md
Name文本全局样式设置
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:批量管理选中文字元素的全局字重与加粗状态。
Usage选中一个或多个文本元素(或包含绑定文本的图形),运行此脚本将唤起“全局样式”悬浮控制面板。通过面板的开关和输入框可以批量设置选中文字的字重 (Weight) 和加粗状态 (Bold)。
Features
  • 构建原生的悬浮 DOM 控制面板
  • 智能穿透 `boundElements` 获取绑定的文本内容并批量写入样式 `customData`
Dependencies
  • 需要依赖 [Feature-Text-Render-Engine] 常驻底层进行渲染
Autorunfalse
LicenseMIT

Action-Format-Text-Partials-Silent

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Format-Text-Partials-Silent.md
Name文本局部格式 (静默版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:一键为正在编辑选中的文字应用默认的局部加粗和颜色标记。
Usage在双击进入 Excalidraw 文本编辑模式后,用光标选中部分文字片段,然后运行此脚本(建议绑定快捷键)。被选中的文字将被静默应用预设的加粗和颜色格式。
Features
  • 精准计算 `selectionStart` 和 `selectionEnd` 的光标偏移量(自动处理换行符误差)
  • 动态向文本元素注入 `customData.boldPartial` 或 `customData.colorPartial` 数组区间
Dependencies
  • 必须依赖 [Feature-Text-Render-Engine] 常驻底层解析并渲染富文本
Autorunfalse
LicenseMIT

Action-Format-Text-Partials

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Format-Text-Partials.md
Name文本局部格式设置
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:在文本编辑模式下,快速为选中的文字添加局部加粗或变色效果。
Usage运行此脚本以唤起“局部样式工具”悬浮面板。随后双击进入文本编辑模式并用光标选中一段文字,点击悬浮面板上的“局部加粗”或使用取色器选择颜色后点击“应用局部颜色”,即可为选中片段赋予独立样式。
Features
  • 构建原生悬浮控制台,并结合 `onmousedown` 事件的 `preventDefault` 技巧防止输入框失焦
  • 自动向被选中范围注入 `boldPartial` 或 `colorPartial` 属性
Dependencies
  • 需要依赖 [Feature-Text-Render-Engine] 进行最终的 Canvas 绘制
Autorunfalse
LicenseMIT

Action-Highlight-Background-Silent

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Highlight-Background-Silent.md
Name文本高亮块 (静默版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:静默读取默认设置,为选中的文字快速生成底层高亮块。
Usage在文本编辑状态下使用光标选中一段文字,运行此脚本(建议绑定快捷键)。脚本将自动在被选中的文字底层生成一个预设颜色的实心无边框半圆角矩形,模拟真实荧光笔高亮的效果。
Features
  • 读取 EA 插件设置中的 `highlightBackground.defaultColor`
  • 使用 Canvas API 的 `measureText` 算法精准计算多行文本中各个被选中片段的物理宽高与 X/Y 偏移
  • 自动在文本底层原位生成对应尺寸的矩形 (`ea.addRect`)
Dependencies
  • 独立运行,无强制底层引擎依赖
Autorunfalse
LicenseMIT

Action-Highlight-Background-UI

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Highlight-Background-UI.md
Name文本高亮块 (UI版)
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:在文本编辑模式下,为选中的文字生成指定颜色的底层高亮块。
Usage运行此脚本以唤起“背景高亮工具”悬浮面板。进入文本编辑状态并选中部分文字,在面板上使用取色器选择颜色,点击生成按钮,即可在选中的文字底层自动铺设对应颜色的矩形高亮色块。
Features
  • 包含悬浮 DOM 面板与系统取色器
  • 结合 Canvas `measureText` 实现跨行多段文本高亮块的自动物理位置对齐与生成
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Paste-Wrapped-Text

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Paste-Wrapped-Text.md
Name限制宽度粘贴
Authorymjr
Version1.0.0
SourceFile on GitHub
Description弹窗确认面板:将剪贴板文本粘贴至画板,并根据设定的“单行字符数”进行自动折行排版。
Usage复制大段文本后运行此脚本,脚本将弹出一个输入框询问每行允许的最大字符数,随后自动读取剪贴板并在画板中心以指定宽度自动换行生成文本节点。
Features
  • 支持中英文混合的字符串截断排版算法
  • 自动拦截并处理剪贴板的异步读取
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Runtime-Font-Manager

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Runtime-Font-Manager.md
Name运行时字体管理器 (Runtime Font Manager Pro)
Authorymjr
Version2.0.0
SourceFile on GitHub
Description现代精致的 Excalidraw 运行时字体管理面板。支持极速检索 600+ 本机系统字体、实时字体排版样张预览、一键加载入画布、网络字体下载与 Vault 持久化同步。
Usage运行此脚本呼出专业字体管理悬浮面板。可在“系统字体”、“画布字体”、“网络下载”与“目录同步”间快速切换,支持即时搜索与所见即所得样张预览。
Features
  • 自动极速扫描 600+ 本机系统字体(Windows/macOS/Linux),支持即时中文/英文/等宽筛选
  • 所见即所得排版样张预览,点击即刻完成字体注册与应用
  • 管理画布当前已注册字体,一键应用到当前选中文本
  • 精选开源名牌字体一键下载(得意黑、霞鹜文楷、Fira Code 等),支持自定义 URL 下载并自动持久化至 Vault
  • 手动触发 initializeFonts() 重新扫描加载多字体文件夹
Autorunfalse
LicenseMIT

Action-Split-Text-Segments

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Split-Text-Segments.md
Name按标记分割文本
Authorymjr
Version1.0.0
SourceFile on GitHub
Description动作脚本:将选中文本块通过 “==” 标记分离成多个独立的文本元素。
Usage在文本元素中手动输入 `==` 作为分隔符(例如 `第一段 == 第二段`),选中该元素后运行此脚本。脚本将沿着分隔符切断文本,生成多个相互独立但保持原有 Y 轴坐标相对位置的独立文本节点。
Features
  • 完美继承原文本的样式、字体和颜色
  • 利用 Canvas 原生 measureText 精准计算并保持拆分后文本的排版位置
Dependencies
  • 无依赖
Autorunfalse
LicenseMIT

Action-Text-Copy-Elements

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Action-Text-Copy-Elements.md
Name提取并复制选中元素文字
Authorymjr
Version1.0.0
SourceFile on GitHub
Description提取选中连线及其绑定节点的文字,或直接提取选中元素的文字,并以优美的UI反馈结果。
Usage选中画板中的连线或包含文字的节点,运行此脚本即可自动提取文字并复制到剪贴板。
Features
  • 智能解析连线的 起点、线段、终点 的文字并转换为CSV格式
  • 支持直接提取纯文本节点的内容
  • 注入美观且自动销毁的 HTML 毛玻璃浮动提示 UI
Autorunfalse
LicenseMIT

Feature-Input-Emoji-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Feature-Input-Emoji-Engine.md
NameEmoji 输入补全引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供文本编辑框内的 Emoji 自动补全提示与选择。
Usage后台常驻引擎。当在 Excalidraw 原生文本编辑框内输入 `:` (冒号) 时,自动弹出一个原生渲染的 Emoji 候选项浮窗,支持键盘方向键上下选择和 Enter 补全。
Features
  • 拦截 Excalidraw 原生 `wysiwyg` DOM 元素的 `keyup` 与 `keydown` 事件
  • 原生 DOM 悬浮菜单,智能贴靠光标位置
  • 完整隔离生命周期避免插件热重载时的内存泄漏
Dependencies
  • 独立引擎,无外部依赖
Autoruntrue
LicenseMIT

Feature-Markdown-Header-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Feature-Markdown-Header-Engine.md
NameMarkdown 标题引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:在文本编辑提交时,自动将 Markdown 标题 (#) 转换为对应样式的标题文本元素。
Usage后台常驻引擎。当在画板内输入 `# 标题内容` 或 `## 标题内容` 时,引擎会自动拦截并在底层重新渲染,生成预设字号与字体的原生标题样式节点。
Features
  • 拦截 `onTextSubmit` 钩子,通过正则精确判断 `#` 标题层级
  • 自动覆盖设置 `fontFamily` 和 `fontSize` 属性,并清理多余的 `#`
Dependencies
  • 独立运行,无外部依赖
Autoruntrue
LicenseMIT

Feature-Template-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Feature-Template-Engine.md
Name模板文本引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:拦截文本 Wrap 逻辑,动态替换为 Template 数据。
Usage后台常驻。为携带 `customData.template` 的文本元素提供底层的“运行时变量替换”能力,使得文字元素可以成为动态展示外部数据的容器。
Features
  • 拦截 `beforeWrapText` 钩子
  • 根据元素 ID 到全局上下文 `window.templateMap` 中匹配对应渲染内容
Dependencies
  • 需要与其他生成模板数据的脚本配合使用
Autoruntrue
LicenseMIT

Feature-Text-Render-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Feature-Text-Render-Engine.md
Name文本高级渲染引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供文本级的自定义渲染,支持局部加粗、局部变色、渐变色及特殊字体样式(支持混合叠加)。
Usage后台常驻引擎。自动拦截包含 `customData.boldPartial`、`customData.colorPartial` 等字段的文本元素的渲染过程,并在 Excalidraw 原生 Canvas 层进行自定义绘制,实现富文本级别的展现效果。
Features
  • 拦截 `drawElementOnCanvasTextBefore` 与 `drawElementOnCanvasTextAfter` 钩子
  • 支持多段局部样式 (Bold/Color) 嵌套叠加渲染
  • 支持读取全局字重 (`font.weight`) 与渐变色 (`gradient`) 配置
Dependencies
  • 作为基础引擎供所有 `Action-Format-Text-*` 动作脚本调用
Autoruntrue
LicenseMIT

Feature-Text-Shortcuts-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/text/Feature-Text-Shortcuts-Engine.md
Name文本快捷键增强引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供 Shift+Enter 换行、Tab 缩进、Shift+方向键空间跳转,以及 Space 键快速编辑功能。全部功能支持在设置中开关。
Usage后台常驻引擎。在画板进行文本编辑时,极大地增强了键盘交互体验。各项快捷键功能均可在 EA 脚本设置中独立开启或关闭。
Features
  • 全面劫持和强化原生的 Excalidraw `keydown` 事件
  • 支持按下 Space 键快速进入选中元素的文本编辑状态
  • 支持 Tab / Shift+Tab 快速调整文本元素的 X 轴缩进
  • 支持 Shift+Enter 快速向下换行新建文本 (继承上一个元素的字体样式)
  • 支持 Shift+方向键 快速在文本节点间跳转
Dependencies
  • 独立运行,无外部依赖
Autoruntrue
LicenseMIT

Action-Toggle-Thumbnail

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/thumbnail/Action-Toggle-Thumbnail.md
Name切换缩略图显示状态
Authorymjr
Version1.0.0
SourceFile on GitHub
Description开启或关闭右侧的画布缩略图导航面板。
Usage运行脚本将在画板右上角弹出一个带当前全局概览的缩略小地图。通过拖拽小地图中的红色取景框,可以快速且大范围地平移主画板视角。再次运行脚本可关闭小地图。
Features
  • 构建原生的悬浮 DOM 面板
  • 维持 `updateImage` 及状态位以通知后台引擎进行重绘
Dependencies
  • 必须依赖 [Feature-Thumbnail-Engine] 提供底层截图隔离与渲染
Autorunfalse
LicenseMIT

Feature-Thumbnail-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/thumbnail/Feature-Thumbnail-Engine.md
Name缩略图导航核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:提供缩略图(小地图)的实时渲染、视图更新与鼠标拖拽平移同步逻辑。
Usage常驻后台引擎,专门响应 `thumbnailCanvas` 的渲染请求,隔离 `renderStaticScene` 防止高分屏等缩放参数互相污染。
Features
  • 拦截 `renderStaticScene` 利用独立的离屏 `tempCanvas` 及 Rough.js 进行干净的缩略图生成
  • 监听画板元素的更改并在适当时机触发小地图同步
  • 处理小地图内红框(取景框)的拖拽交互及对应的主画布视口 `updateScene` 漫游反切
Dependencies
  • 配合 Action-Toggle-Thumbnail 使用
Autoruntrue
LicenseMIT

Action-Wavedrom-Manager

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/wave-drom/Action-Wavedrom-Manager.md
NameWaveDrom 波形生成器
Authorymjr
Version1.0.0
SourceFile on GitHub
Description基于 WaveDrom JSON 规范快速绘制数字电路时序波形图。支持实时预览与代码编辑。
Usage选择已有的 Wavedrom 占位块或直接在空白画板运行此脚本。在弹出的编辑器中编写波形图 JSON 代码(支持实时预览)。点击确认后将以透明矩形(携带 customData)的形式写入画布并交由后台引擎接管绘制。
Features
  • 与内置在 [Feature-Wavedrom-Engine] 中的核心 API 建立通信唤起编辑器
  • 向目标矩形写入 `customData.wavedrom` 及相应的 `code`
  • 包含针对旧版纯文本波形的“迁移升级”逻辑
Dependencies
  • 必须依赖 [Feature-Wavedrom-Engine] 脚本引擎
Autorunfalse
LicenseMIT

Feature-Wavedrom-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/wave-drom/Feature-Wavedrom-Engine.md
Name波形渲染引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:渲染wavedrom波形。
Usage后台常驻引擎,为带有 customData.wavedrom 标记的图元提供底层的 Rough.js / Canvas 渲染拦截,实时将时序图代码转化为高质量的波形矢量图。
Features
  • 拦截 `drawElementOnCanvas` 进行离屏 SVG 生成并缓存 (imageCache)
  • 内置 WaveDrom 全量 JS 运行时以支持全离线解析
  • 基于自然长宽比自动校正元素的边界物理尺寸 (width/height)
  • 支持复杂 Group 分组渲染及 Live Preview 的无损展示
Dependencies
  • 供 Action-Wavedrom-Manager 唤起面板和输入代码使用
Autoruntrue
LicenseMIT

Action-Toggle-Zoom-Hide

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/zoom/Action-Toggle-Zoom-Hide.md
Name设置缩放隐藏规则
Authorymjr
Version1.0.0
SourceFile on GitHub
Description悬浮面板:为选中的元素设置缩放可见区间,超出此范围将自动隐藏。
Usage选中画板中的一个或多个元素,运行此脚本将唤起“可见范围配置”面板。通过拖动滑块可以设置元素在画板的缩放百分比处于什么范围时才显示(例如仅在放大到 150% 以上时显示细节文本)。
Features
  • 提供原生的悬浮控制面板进行滑动式阈值输入
  • 自动向选中元素注入 `customData.zoomHide` 的 `[min, max]` 区间
  • 兼容读取老版本单阈值 ( `<100` 或 `>200`) 的数据结构
Dependencies
  • 必须依赖 [Feature-ZoomHide-Engine] 进行底层可见性渲染的拦截控制
Autorunfalse
LicenseMIT

Feature-Zoom-Hide-Engine

https://raw.githubusercontent.com/Bowen-0x00/obsidian-excalidraw-scripts/main/Scripts/zoom/Feature-Zoom-Hide-Engine.md
Name缩放隐藏核心引擎
Authorymjr
Version1.0.0
SourceFile on GitHub
Description后台引擎:监听画布缩放事件,当缩放比例超出元素配置的可见区间时,自动隐藏元素。
Usage后台常驻引擎,专门针对携带 `customData.zoomHide` 的元素提供动态显示/隐藏的管理逻辑。
Features
  • 拦截 `updateScene` 和 `handleWheelZoom` 等缩放事件
  • 动态计算元素是否在给定的可见视口缩放百分比中,若是则自动抹去/恢复显示 (`el.customData.hide`)
Dependencies
  • 配合 Action-Toggle-ZoomHide 使用
Autoruntrue
LicenseMIT