viacai2 downloads在Obsidian中阅读md格式的书报:书库在左栏,支持全库检索;阅读器在标签页,支持全文检索、记住阅读进度和历史,纲目在滑轨上以圆点定位等。
把一堆 Markdown 文件,变成一个能翻目录、能全文搜索、能接着上次读的书库。
左边是书库,右边是阅读器;关掉 Obsidian 再打开,还停在上次读到的那一页。
插件本身不带书。 需要现成的 md 书报文档,可以加 QQ 群 1128049033 下载(800+ 份),解压后放进 Obsidian 仓库的任意目录即可。
你的仓库/.obsidian/plugins/living-stone/,再到「设置 → 第三方插件」里启用。(也可以用 BRAT,见下方「安装」).md 文件放进仓库里的某个文件夹,一个文件就是一本。装好后第一次打开 Obsidian,会自动弹出新手引导:四步,每步都能直接点一点试试,看完就会用了。之后想重看,去「设置 → Living Stone → 新手引导」。
| 位置 | 是什么 |
|---|---|
| 左侧栏 | 上面是「正在阅读」书架,下面是「书库 / 搜索」两个子页 |
| 阅读器标签页 | 正文、目录、阅读设置都在这里,可以同时开好几本 |
| 阅读区底部状态栏 | 总字数、整本进度、本章进度(可分别开关) |
| 右侧滚动滑轨 | 每个章节一个小圆点,鼠标停上去显示章节名 |
「书库」子页按文件夹层级列出所有书,书名就是文件名。
顶部的「正在阅读」书架放你常读或正在读的书:有封面图就用封面图,没有就把正文开头几行排成一本摊开的书的样子。往书架里加书用上面说的 ⋯ 菜单;封面大小可以在齿轮里的「书库管理」调(小 / 中 / 大)。
⚙ 齿轮(书库管理):改书库名字、上下移动排序、移除书库、添加新书库,都在这个浮层里完成,不用跳回设置页。
左侧栏切到「搜索」子页:
信心 祷告。打开一本书,就在一个独立标签页里读:
main.js、manifest.json、styles.css;.obsidian/plugins/living-stone/,把三个文件放进去;先装 BRAT,再添加仓库 ViaCai/living-stone。
插件每次启动会去 GitHub 看一眼有没有新版本(可以在设置里关掉)。有的话,右上角会弹出提示:
设置页底部「更新」里可以:开关自动检查、立刻检查一次(发现新版本同样能直接更新,也可以打开 Release 页面手动下载)、看当前版本的更新说明、翻历史更新。
一个 .md 文件就是一本书,文件名就是书名。
# / ## / ### 标层级;![[图片.png]];设置页顶部有「MD 文档制作说明」,里面有一份可以直接照抄的最小示例。
书库里看不到书? 多半是「书库」路径填到了子层。把上一级文件夹也加进去;或者到「已忽略」里看看是不是被忽略了。放进去的新文件如果没出现,执行命令「重建书库索引」。
书名是一串英文/数字? 书名取的是文件名,改文件名即可。
搜索搜不到? 先确认搜的是正文里的词,且没有被检索范围限制在某个空分类里;被忽略的书和文件夹不参与搜索。
排版改乱了? 「阅读设置」里每一项后面都有 ↺,点一下恢复默认;也可以在设置页里逐项恢复。
手机上找不到「更多」按钮? 每行书末尾都有 ⋯;也可以长按书行另开一本。
插件只在以下情况访问 raw.githubusercontent.com(本仓库的公开文件),除此之外不联网:
manifest.json 比对版本号;main.js / manifest.json / styles.css,校验通过后覆盖当前插件文件;CHANGELOG.md。只做读取与下载:不上传任何数据,不收集统计信息,不加载远程脚本。书库里的 md 文档始终只在本机。
npm install
npm run dev # 监听构建
npm run build # 生产构建
npm test # 回归测试(test:views / test:tree / test:open)
发版流程:
# 1. 改 manifest.json / package.json / versions.json 里的版本号并更新 CHANGELOG
npm run build
git add -A && git commit -m "release: 1.0.0" && git push
# 2. 建 Release:tag 必须与 manifest.json 的 version 完全一致(不带 v 前缀)
gh release create 1.0.0 --title "Living Stone 1.0.0" --notes-file CHANGELOG.md \
main.js styles.css manifest.json
Living Stone turns a folder of Markdown files into a browsable book library inside Obsidian: a library sidebar on the left, a reader in a tab on the right, and your reading position is remembered between sessions.
.md file, or pack a whole folder into a zip.main.js, manifest.json and styles.css from the latest release.<vault>/.obsidian/plugins/living-stone/.You can also install it with BRAT by adding ViaCai/living-stone.
The plugin does not ship any books. Each .md file is one book, and the file name becomes the title. Use #, ##, ### for heading levels, or write standalone lines such as 第一章 … / 卷一 … and they will be detected as headings. The “MD 文档制作说明” dialog in the plugin settings documents the format in detail.
The plugin contacts raw.githubusercontent.com only to read this repository's public files: manifest.json (version check, when automatic checking is enabled), the three plugin files when you click “立即更新” (verified before they are written), and CHANGELOG.md (release notes and history). It never uploads data, collects telemetry, or loads remote scripts.
MIT — see LICENSE.
加6:10 所以我们有了时机,就当向众人行善,尤其是向信仰之家的人。
