Temporary Markdown Preview

approvedunreviewed

by kaka

Preview dragged Markdown files in temporary tabs and save copies to your vault when needed.

↓ 18 downloadsUpdated 4d agoMIT

Temporary Markdown Preview(拖入即阅)

Preview Markdown files from outside your vault by dragging them into the Obsidian desktop window. The preview opens in a read-only tab. You can save a copy to a vault folder whenever you want to keep it.

Installation

Install Temporary Markdown Preview from Obsidian’s Community plugins directory once it is listed. To install manually on Obsidian Desktop 1.7.2 or later:

  1. Download the installation ZIP from GitHub Releases.
  2. Extract the temporary-markdown-preview folder into your vault’s .obsidian/plugins/ directory.
  3. In Settings → Community plugins, refresh the installed plugins list and enable Temporary Markdown Preview.

Usage

  • Drag a local .md file into the main Obsidian window to preview it.
  • Close the preview tab with × to discard it.
  • Click 保存到仓库 (Save to vault) and select a folder to save an editable copy. If the filename is already in use, the copy gets a numbered suffix.

The plugin reads only the local files you drop and saves a copy only when you select a destination. Obsidian may load external resources referenced by the Markdown file, such as remote images.

中文说明

把本地 Markdown 文件拖进 Obsidian,在临时标签页里阅读。

  • 临时阅读:从资源管理器把 .md 文件拖到 Obsidian 主窗口。点标签页的 × 关闭,仓库里不会新增笔记。
  • 留存笔记:在预览页点 保存到仓库,选择目标文件夹。保存后会打开可编辑的笔记。已有同名文件时,新笔记会带上 (2) 等编号。

文件访问

拖放时,插件会在本地读取你主动选择的仓库外 Markdown 文件,用来生成临时预览。选择保存位置后,插件才会向仓库写入一份副本。

插件本身不上传笔记或发送使用数据。文档引用的远程图片等资源可能由 Obsidian 渲染时加载。

手动安装

适用于桌面版 Obsidian 1.7.2 及以上版本。

  1. 下载本仓库的 main.js、manifest.json 和 styles.css。
  2. 在要使用插件的仓库里创建 .obsidian/plugins/temporary-markdown-preview/ 文件夹,将这三个文件放进去。
  3. 打开 Obsidian 的 设置 → 第三方插件,刷新已安装插件列表并启用 Temporary Markdown Preview。

许可证

本项目采用 MIT 许可证。

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.