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

HTML Frontmatter

loonghappyloonghappy3 downloads

Edit HTML metadata with native Properties and include it in the vault property catalog.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

English · 简体中文

Edit properties of HTML notes using Obsidian's native Properties interface, and include HTML properties in the vault-wide property catalog and occurrence counts. Metadata stays inside each HTML file as a JSON data block. No companion Markdown files or third-party HTML plugins are required.

Preview release. Supports desktop Obsidian 1.14.4 only; verified on Windows.

Vibe-coded project: Developed through human–AI collaboration and AI-assisted coding. The verification record documents the actual checks and their limits. This project is still a preview.

Features

  • Edit text, lists, numbers, checkboxes, dates, date-times, and tags with native property controls.
  • Add, rename, and delete properties within a single HTML file.
  • Preserve all HTML content, styles, and scripts outside the metadata block when saving properties.
  • Include HTML, HTM, and Markdown properties in the native vault-wide catalog, occurrence counts, and property-value suggestions.
  • Refresh the catalog after file changes, moves, deletions, or changes to excluded-file rules.

Select an HTML note, edit native properties, and see a new property appear in the vault-wide catalog

The GIF uses synthetic notes. The native property editor is on the right; the vault-wide catalog is on the left. Adding “复习计划” (Review plan) to an HTML note creates a catalog entry with an occurrence count of 1.

Installation

Manual installation

Until the plugin is available in Obsidian's community directory, install it manually:

  1. Open the latest GitHub release and download the html-frontmatter-<version>.zip asset.
  2. Extract the ZIP. Copy the entire html-frontmatter folder into your vault's .obsidian/plugins/ directory. The resulting plugin folder must be .obsidian/plugins/html-frontmatter/, with main.js and manifest.json directly inside it.
  3. Restart Obsidian. Open Settings → Community plugins, allow community plugins if prompted, and enable HTML Frontmatter.
  4. Open Settings → Core plugins and enable Properties view.

Alternatively, create .obsidian/plugins/html-frontmatter/ and place the release's standalone main.js and manifest.json files inside it. License notices are embedded in main.js and also provided as separate release files. Node.js is not required to use the installed plugin.

Usage

Edit an HTML note's properties

  1. Place an .html or .htm file inside your vault.
  2. Open the command palette with Ctrl+P on Windows/Linux or Cmd+P on macOS.
  3. Search for HTML Frontmatter and run HTML Frontmatter: 编辑 HTML 属性 (“Edit HTML properties”). The plugin's command and file-menu labels are currently in Chinese.
  4. Select the HTML file. Its properties open in the native file-properties sidebar.
  5. Edit values, toggle checkboxes, or add properties. Changes are saved to the JSON metadata block inside that HTML file.

You can also right-click an HTML file in the file explorer and choose 编辑 HTML 属性. The property pane stays pinned to the selected file. Read the HTML body using your existing preferred method; this plugin does not render it.

View properties across the vault

Run Obsidian's Show all properties command to open the native vault-wide property catalog. HTML and Markdown notes contribute to the displayed property names and occurrence counts. A property used by one HTML note has an occurrence count of 1.

Metadata format

There is no need to maintain JSON manually. If a file has no metadata block, saving its first property inserts one:

<script type="application/json" id="obsidian-frontmatter">
{
  "course": "Databases",
  "chapter": 6,
  "reviewed": false,
  "tags": ["course/databases"]
}
</script>

The block is non-executing JSON. Flat objects and lists of primitive values are supported; tags, aliases, and cssclasses must be string lists. Invalid, duplicate, or unsupported metadata blocks are refused rather than overwritten.

Limitations

  • The adapter uses some non-public APIs and refuses to load on Obsidian versions other than 1.14.4.
  • Vault-wide property renaming or deletion involving HTML is blocked, including mixed multi-selections. Single-file property renaming and deletion remain available.
  • HTML rendering, search results, graph links, Bases, and backlinks are outside this plugin's scope. Clicking a catalog entry still invokes native search; its results are not guaranteed to include HTML.
  • Explicitly assigned property types may remain in the native catalog with a count of 0. Date-times use Obsidian's native format, including seconds.

Build from source

Use Node.js 24 and npm. The release-packaging command currently requires Windows PowerShell:

npm ci --ignore-scripts --no-audit --no-fund
npm run release

The installable folder, ZIP, and SHA-256 file are generated under dist/. Build output, dependencies, and test-vault state are excluded from the source repository.

Documentation index · Development · Verification record · Architecture · Changelog

License

MIT. Bundled dependencies retain their own notices in THIRD_PARTY_NOTICES.md. Detailed development documents are currently in Simplified Chinese.

HealthExcellent
ReviewPassed
About
启用 HTML 笔记对 Obsidian 原生 Properties 的支持,在侧栏编辑并保存文本、列表、数字、复选、日期/日期时间和标签等属性,属性以 HTML 内的 JSON 数据块存储且不生成额外 Markdown。合并 HTML/HTM 与 Markdown 的属性进入全库属性目录并显示出现次数与候选值;仅在桌面 Obsidian 1.14.4(试用版)上受支持。
PropertiesHTML
Details
Current version
0.1.2
Last updated
5 hours ago
Created
6 hours ago
Updates
3 releases
Downloads
3
Compatible with
Obsidian 1.14.4+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
loonghappyloonghappythhapp
GitHubthhapp
  1. Community
  2. Plugins
  3. Properties
  4. HTML Frontmatter

Related plugins

Advanced Canvas

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

Meta Bind

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

Update modified date

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

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.

Pretty Properties

Makes note properties look more fun: adds side image, banners, list property colors and allows to hide specific properties.

Front Matter Title

Define a title in frontmatter to be displayed as the filename.

Badges

Add inline badges/callouts to notes.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.