Repository navigation
Releases
Longshot PDF 0.2.5
Longshot PDF 0.2.5 fixes #1: inline titles now retain their reading-view color and typography during export. This fixes dark titles on notes with a dark background, including notes styled independently of the app theme. The plugin no longer overrides the title styles supplied by Obsidian, themes or CSS snippets.
The GitHub Actions release includes main.js, manifest.json, and styles.css, with build provenance attestations. Replace these three files to update an existing installation, then reload the plugin.
Longshot PDF 0.2.5 修复了 #1 中的内联标题样式问题。导出时会保留标题在阅读视图中的颜色和排版,解决深色背景笔记里的标题变成深色、难以辨认的问题。插件不再覆盖 Obsidian、主题或 CSS 片段提供的标题样式。
此版本由 GitHub Actions 构建,附带 main.js、manifest.json、styles.css 和构建来源证明。更新已有安装时替换这三个文件,再重新加载插件。
Longshot PDF 0.2.4
Longshot PDF 0.2.4 fixes the broken logo on the Obsidian Community preview by using a direct image URL in the English and Chinese README files. The quick settings screenshot uses a direct URL as well. Plugin export behavior is unchanged.
The GitHub Actions release includes main.js, manifest.json, and styles.css, with build provenance attestations. Replace these three files to update an existing installation, then reload the plugin.
Longshot PDF 0.2.4 修复 Obsidian 社区预览页的 Logo 破图:中英文 README 改用可直接访问的图片地址,快速设置截图也做了相同调整。插件导出行为未变。
此版本由 GitHub Actions 构建,附带 main.js、manifest.json、styles.css 和构建来源证明。更新已有安装时替换这三个文件,再重新加载插件。
Longshot PDF 0.2.3
Longshot PDF 0.2.3 updates the logo image in the English and Chinese README files. The plugin's export behavior is unchanged from 0.2.2.
The GitHub Actions release includes main.js, manifest.json, and styles.css, with build provenance attestations. Replace these three files to update an existing installation, then reload the plugin.
Longshot PDF 0.2.3 更新了中英文 README 中的标志图片。插件导出行为与 0.2.2 相同。
此版本由 GitHub Actions 构建,附带 main.js、manifest.json、styles.css 和构建来源证明。更新已有安装时替换这三个文件,再重新加载插件。
Longshot PDF 0.2.2
Fix plugin review issues without changing PDF export behavior:
- Add the MIT license and explain local file access in both READMEs.
- Remove jsPDF's unused CDN-based viewer from the production bundle.
- Read only the selected PNG for hidden watermark verification instead of listing the vault.
- Replace the
builtin-modulesdependency with Node.js's built-in module list. - Remove CSS
!importantoverrides and unsupported scrollbar styling. - Build releases in GitHub Actions with provenance attestations. Attach only the three Obsidian installation files.
Direct filesystem access remains available for exporting outside the vault and using local watermark/avatar images. Reload the plugin after updating.
修复审核报告中的脚本创建、样式兼容性和依赖问题,补充 MIT 许可证及中英文文件访问说明。隐水印校验改为仅读取选中的 PNG。发布文件由 GitHub Actions 构建并附带来源证明。
保留库外导出和本机图片读取功能,因此直接文件系统访问的行为提示仍可能出现。更新后请重新加载插件。
Longshot PDF 0.2.1
修复长截图 PDF 忽略页边距的问题。现在按所选纸张宽度和四周页边距放置截图,高度随内容延伸;默认 A4 左右各留 18 mm。快速设置会显示纸张和页边距,JPG / PNG 长图行为保持原样。
Fix continuous PDF exports ignoring page margins. PDFs now use the selected paper width and all four margins, with height fitted to the content. Quick settings expose paper size and margins for continuous PDFs. Long JPG / PNG exports are unchanged.
更新后请重新加载插件。 / Reload the plugin after updating.
Longshot PDF 0.2.0 · 中文 / English
中文
Longshot PDF 现在支持中英文界面,自动跟随 Obsidian 的语言设置。中文环境显示简体中文,英文及其他语言环境显示英文。
下载压缩包后,将其中的 longshot-pdf 文件夹放入仓库的 .obsidian/plugins/。更新时替换 main.js、manifest.json 和 styles.css,保留 data.json,然后重新启用插件。
English
Longshot PDF now follows Obsidian’s interface language. Chinese locales use Simplified Chinese; English and other locales use English.
- Quick settings, all settings tabs, commands, page previews, notices and errors are localized.
- All 10 built-in signature templates have localized names. Your content and custom template names are preserved.
- The README is available in English and Chinese.
Extract the ZIP into your vault’s .obsidian/plugins/ folder. To update, replace main.js, manifest.json and styles.css, keep data.json, then disable and re-enable the plugin.
Requires Obsidian 1.4.0 or later, desktop only. PDF content is stored as images, without a searchable text layer.
Longshot PDF 0.1.0
Longshot PDF 首个公开版本。将 Obsidian 笔记的阅读视图截成长图,导出为 PDF、JPG 或 PNG。
- 支持自动分页、分页预览和手动调整断点,也可以保存单页长图 PDF。
- 支持纸张尺寸、页边距、页眉页脚,以及文字或图片水印。
- 提供作者署名、头像与 10 套透明样式模板。
安装
下载 longshot-pdf-0.1.0.zip,解压后把 longshot-pdf 文件夹放进仓库的 .obsidian/plugins/ 目录,重启 Obsidian 并启用插件。也可以分别下载 main.js、manifest.json 和 styles.css。
需要 Obsidian 1.4.0 或更新版本,仅支持桌面端。PDF 正文以图片保存,没有可搜索、可复制的文字层。