池心砚1 downloadsAdd underline, bigger/smaller font, center, and same-file heading/block links to the editor. Each feature can be enabled separately and shown in the mobile toolbar; hotkeys are configurable with sensible defaults.
An Obsidian plugin that adds extra text styles to the editor: underline, bigger/smaller font, center, and same-file heading/block links. Every feature works as a toggle — run the command again to remove the style.
一个为 Obsidian 编辑器增加更多文本样式的插件:下划线、放大/缩小字号、居中、同文件标题/块引用链接。所有功能都是开关式的——再次执行即取消。
<u>): wraps the selection in <u>…</u>. Markdown has no native underline syntax; the plugin uses inline HTML. Default hotkey: Ctrl/Cmd+U.<big>) / Smaller font (<small>): wraps the selection; can be applied repeatedly to compound the effect.<center>): centers the line in reading view (off by default).[[#Heading]]): select the heading text, run the command, and it is completed into an internal link that jumps to that heading of the current note. Full syntax [[Note#Heading|Alias]] is described in the settings.[[#^BlockID]]): precise jump to any line marked with a ^ID. Full syntax [[Note#^BlockID|Alias]] is described in the settings.All commands have toggle semantics: running them again removes the wrapping.
Each feature can be:
Copy main.js, manifest.json to <vault>/.obsidian/plugins/more-text-styles/ and enable the plugin in Obsidian.
<u>):为选中文本添加下划线(Markdown 没有原生下划线语法,使用内联 HTML 实现),默认热键 Ctrl/Cmd+U。<big> / <small>):包裹选中文本,可连续叠加增强效果。<center>):阅读视图中水平居中(默认关闭)。[[#标题]]):选中标题文字后执行命令,自动补全为文内跳转链接,完整语法 [[笔记名#标题|别名]] 见设置页说明。[[#^锚点]]):精确跳转到标注了 ^ID 的任意一行,完整语法 [[笔记名#^锚点|别名]] 见设置页说明。所有命令均为开关语义:再次执行即取消。
每个功能可以:
将 main.js、manifest.json 复制到 <仓库>/.obsidian/plugins/more-text-styles/,在 Obsidian 中启用即可。
MIT