Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Key Value Replace

JqmJqm76 downloads

Replace ${key} tokens with configured values in Live Preview.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Replace ${key} tokens with configured values in Live Preview. 例如:我想使用一个变量作为占位符,去替代显示我的配置文件中的值,它需要在编辑模式和阅读模式显示。当我全局全改站位符的值时,它显示得值跟着变化。

我有一个变量MyIP,它的值是192.168.1.1。当我在文档中打印MyIP时,它将显示192.168.1.1。我修改MyIP的值为192.168.1.2时,所以使用MyIP变量的值,都将进行改变。

Build

npm run build

Installation

在社区中添加插件。

Basic Usage

在文档中使用${key}占位符,例如:${MyIP}。

HealthExcellent
ReviewPassed
About
Replace ${key} tokens with configured values in Live Preview and reading mode. Update global keys and see all occurrences change instantly across your notes.
TemplatingProperties
Details
Current version
1.0.2
Last updated
3 months ago
Created
3 months ago
Updates
3 releases
Downloads
76
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Sponsor
Support
Author
JqmJqmfamilygithub000
GitHubfamilygithub000
  1. Community
  2. Plugins
  3. Templating
  4. Key Value Replace

Related plugins

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Templater

Create and use dynamic templates.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

QuickAdd

Quickly add new notes or content to your vault.

Force note view mode

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.

Folder notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.

MetaEdit

Manage your metadata.

Featured Image

Automatically set a featured image property in your notes based on the first image.

Base Board

Organize notes into Kanban boards using frontmatter properties. Drag and drop cards between columns powered by Bases.