Repository navigation
Releases: JeffShanCha/inkslash
Release list
InkSlash 1.3.0 · 墨令
InkSlash 1.3.0 · 墨令
选中文字,设置颜色与字号
- 选中单行普通文字后,自动浮出「文字颜色 / 字号」工具栏。
- 支持预设颜色、自定义
#RRGGBB色值、常用字号和 8–72 px 自定义字号,带预览、取消和恢复默认。 - 也可从编辑器右键菜单和命令面板进入;设置中可关闭自动工具栏。
- 支持中英文和键盘操作:Tab 聚焦工具栏、左右键切换按钮、Enter 打开、Escape 关闭。
- 修复实机验收发现的 Tab 被编辑器当作缩进、弹窗初始焦点不对应所选控件的问题。
样式保存为行内 HTML span,阅读视图可显示,源码模式会显示标签。完整重选 InkSlash 样式区域可调整或恢复默认。为保护原文,不处理代码、属性、链接、多行和包含 Markdown 格式标记的选区。原有斜杠菜单、命令、配置及其 Markdown 输出保持兼容。
Text color and font size
- Select a single line of plain text to show a floating color and size toolbar, with preset/custom colors, 8–72 px sizes, preview, cancel and reset.
- Access the same controls from the editor context menu or command palette. The automatic toolbar can be disabled in settings.
- English and Simplified Chinese labels, keyboard navigation and correct initial input focus.
- Save styles as inline HTML and update InkSlash spans in place. Reject unsupported Markdown contexts and stale edits; keep existing slash commands, settings and output compatible.
Installation / 安装
Requires Obsidian 1.13.7+. Download main.js, manifest.json, and styles.css into .obsidian/plugins/inkslash/, then reload InkSlash. Keep your existing data.json.
最低要求 Obsidian 1.13.7。替换插件目录中的三个同名文件并重新加载,保留原有 data.json,以保留设置、置顶及历史记录。
Validation / 验证
95 automated tests, lint, build and release checks. Live UI verification in an isolated vault on macOS with Obsidian 1.13.7 covered mouse/keyboard selection, toolbar navigation, color and size application, invalid-size rejection, cancellation, single-step undo, reset to the original text, Live Preview and reading-view rendering, English switching, disabling the toolbar while retaining command access, and existing bold insertion. No mobile-device verification was performed.
InkSlash 1.2.1 · 墨令
InkSlash 1.2.1 · 墨令
修复
- 修复选择 English 后,「全部命令」「置顶命令」「最近使用」和设置页置顶列表中的 Obsidian 原生命令仍显示中文的问题。
- 为 205 个已知 Obsidian 命令 ID 增加中英文显示名称,跟随 InkSlash 的语言设置切换。
- 原名称和双语名称均可用于搜索;第三方插件和未知命令保留提供者的名称。
- 命令 ID、执行行为、快捷键、置顶和最近使用记录、用户配置及生成的 Markdown 保持兼容。
Fixes
- Fix Obsidian command names remaining in the host language after changing InkSlash's language in All commands, Pinned commands, Recent commands, and pinned-command settings.
- Add English and Simplified Chinese display names for 205 known Obsidian command IDs. Keep original names searchable and preserve third-party and unknown command names.
- Preserve command IDs, execution, hotkeys, pins, recent history, existing settings, and generated Markdown.
Installation / 安装
Requires Obsidian 1.13.7+. Download main.js, manifest.json, and styles.css into your vault's .obsidian/plugins/inkslash/ folder, then reload InkSlash. Keep your existing data.json to retain settings and history.
最低要求 Obsidian 1.13.7。下载三个附件,替换仓库 .obsidian/plugins/inkslash/ 中的同名文件,然后重新加载 InkSlash。保留原有 data.json,即可保留设置和历史记录。
Validation: 87 automated tests, including bilingual command rendering and Markdown output compatibility, plus lint, build, and release checks. No additional live-vault or mobile-device UI testing was performed for this patch.
InkSlash 1.2.0 · 墨令
InkSlash · 墨令 1.2.0
InkSlash 现已提供正式的简体中文与 English 界面,同时保持已有命令、设置和 Markdown 输出兼容。作者 jeff niu,MIT 许可。
新功能
- 新增「语言」设置:默认跟随 Obsidian,也可固定为「简体中文」或「English」。
- Obsidian 使用中文界面时自动显示简体中文;其他暂不支持的语言自动使用 English。
- 切换语言后设置页立即更新,重新打开 Slash 菜单或对话框即可应用,无须重启插件。
- Slash 菜单、全部子菜单、设置、表单、Notice、依赖提示、Callout/Lucide/SVG 界面和无障碍标签均支持中英文。
- 无论界面语言如何,均可使用中英文名称和关键词搜索。例如
/标题、/heading、/h1都能找到标题命令。
兼容性
- 旧版
data.json无须迁移;缺少语言字段时自动使用「跟随 Obsidian」,其他设置不会被覆盖。 /、/、、、\四种唤醒字符保持不变。- 命令 ID、菜单结构、快捷键、Callout 类型、Lucide ID、自定义 SVG、第三方插件集成和交互流程保持不变。
- Mermaid、Bases、Dataview、Meta Bind、Canvas、Kanban、属性和其他 Markdown 输出与 1.1.1 保持逐字节兼容。
- 插入示例、默认属性名和已有中文模板内容继续保持原样,语言设置只改变界面文字。
安装与升级
需要 Obsidian 1.13.7+。从下方下载 main.js、manifest.json 和 styles.css,替换插件目录中的同名文件,保留 data.json,然后重新加载插件。
This release adds a complete English and Simplified Chinese interface, follows Obsidian by default, supports bilingual search in either UI language, and applies language changes without a plugin restart. Existing settings, triggers, identifiers, integrations and generated Markdown remain compatible.
InkSlash 1.1.1 · 墨令
InkSlash · 墨令 1.1.1
修复 Obsidian 社区目录自动审查提出的样式警告。作者 jeff niu,MIT 许可。
- 用专属菜单类替代
:has(),避免宽泛的样式失效检查。 - 通过选择器优先级替代
!important,保留原有菜单尺寸、行间距和窄窗口适配。 - Release 仅包含 Obsidian 安装所需的
main.js、manifest.json、styles.css。 - 在中英文说明中补充文件选择器会在本地列出仓库文件路径的用途。
需要 Obsidian 1.13.7+。更新上述三个文件,保留 data.json,然后重新加载插件。
This patch addresses the Community directory's CSS review warnings, preserves the slash menu layout, ships only installable release assets, and documents local file-path enumeration. Preserve data.json when updating.
InkSlash 1.1.0 · 墨令
InkSlash · 墨令 1.1.0
中文内容菜单与全部命令,在同一条斜杠下使用。作者 jeff niu,MIT 许可。
新功能
- 搜索并执行 Obsidian 和已启用插件的当前可用命令;支持模糊搜索、命令 ID、快捷键提示。
- 行首或空格后触发,方向键选择、回车执行,Escape 或空格退出;升级保留原触发设置。
- 图钉置顶与最近命令;首次导入核心命令面板的置顶和历史,后续在墨令中独立管理。
- 「全部命令」面板支持保留选中文字。核心斜杠命令可同时启用,停用墨令后恢复核心菜单。
修复与检查
- 移除动态样式标签,提示块图标直接使用静态 SVG,兼容阅读、实时预览与独立窗口。
- SVG 仅允许静态图形、渐变和内部引用,移除脚本、事件与外部资源。
- 设置支持 Obsidian 的搜索;修复图钉回车误执行、设置关闭清理和取消选择器时丢失查询的问题。
- 官方 Obsidian ESLint 规则加入 CI 与发布检查;运行时仅依赖 Obsidian。
- 在 macOS / Obsidian 1.13.7 实机验证,移动端尚未实机验证。
安装与升级
需要 Obsidian 1.13.7+。将 main.js、manifest.json 和 styles.css 放入 <vault>/.obsidian/plugins/inkslash/,保留 data.json,然后重新加载插件。ZIP 包另含 LICENSE。
早期 feishu-slash-cn 用户请先关闭旧插件,将其 data.json 复制到新的 inkslash 目录,再启用 InkSlash。旧 fscn- 提示块继续支持。
This release adds fuzzy search across available commands, pins, recent history, selection-preserving execution, and coexistence with core Slash commands. It replaces dynamic callout styles with static SVG rendering and adds official Obsidian lint checks to releases. Preserve data.json when updating.
GitHub 发布与 Obsidian 社区目录审核是两个步骤;此版本不代表已获社区目录收录。
InkSlash 1.0.0 · 墨令
InkSlash · 墨令 1.0.0
从一条斜杠开始,让想法自然成形。
The first public release of InkSlash, a Chinese-first insertion menu for Obsidian. Created by jeff niu, released under MIT.
Highlights / 主要功能
- 中文菜单,支持
/、/、、、\和关键词搜索。 - 文本、提示块图标、模板、脚注、双链、媒体与属性。
- Bases 表格/画册/列表、Canvas、11 种 Mermaid 图表。
- 日记、录音、幻灯片、笔记提取、大纲、关系图、书签等操作。
- Tasks、Dataview、Meta Bind、Maps、Templater、Tracker 等插件接入。
- 自适应宽度、仅上下滚动的提示块选择器;中英文说明与真实截图。
Install / 安装
Requires Obsidian 1.13.7+. Native kanban and colored highlights require 1.14.0+. Integrations need the corresponding plugins enabled.
Put main.js, manifest.json, and styles.css directly in <vault>/.obsidian/plugins/inkslash/, reload Obsidian and enable InkSlash. The ZIP contains the same files plus LICENSE.
把上述三个文件放入对应目录,重新加载后启用。升级保留 data.json;从旧 feishu-slash-cn 迁移时,先关闭旧插件,再复制其 data.json 到新目录。
Desktop UI checked on macOS with Obsidian 1.13.7. Mobile installation is permitted but device verification is pending. A GitHub release does not imply Community directory acceptance.