Skip to content

HTML Frontmatter 0.1.2

Latest

Choose a tag to compare

@THhapp THhapp released this 15 Oct 16:38

Type-safety update for the Obsidian community directory source review. Existing plugin features and supported versions are unchanged.

  • Use parse5's built-in node types for HTML metadata traversal.
  • Preserve native method receiver, argument and return types in the compatibility wrapper.
  • Declare version-specific private interfaces at the compatibility boundary.
  • Remove unsafe calls and unnecessary type assertions without disabling lint rules.

Verification

  • Type checking and release build passed.
  • All 15 existing unit tests passed.
  • All 14 native property checks and 13 catalog checks passed in the isolated Windows Obsidian 1.14.4 test vault.
  • Local type-aware linting reported no errors or warnings for all seven rule categories listed in the review: no-explicit-any, no-unsafe-assignment, no-unsafe-member-access, no-unsafe-argument, no-unsafe-call, no-unsafe-return and no-unnecessary-type-assertion. The community directory's new scan is still required.

Vibe-coded preview: developed through human-AI collaboration and AI-assisted coding. Supports desktop Obsidian 1.14.4 only; verified on Windows. HTML rendering, search and graph support remain outside scope. Global property rename/delete involving HTML remains blocked.

Installation and usage

Download html-frontmatter-0.1.2.zip below, extract it, and copy the entire html-frontmatter folder into your vault's .obsidian/plugins/ directory. Restart Obsidian, enable HTML Frontmatter under Community plugins, and enable the core Properties view plugin.

Open the command palette, search for HTML Frontmatter, run "HTML Frontmatter: 编辑 HTML 属性" (Edit HTML properties), and choose an HTML/HTM file. Edit its properties in the native sidebar. Use "Show all properties" to view the vault-wide catalog.

Installation and usage guide · 中文说明 · Verification record

HTML Frontmatter demo

Released under MIT; bundled dependencies retain their own license notices.