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

Auto Close Tags

k0srck0src612 downloads

Auto close HTML tags.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

Automatically close HTML tags as you type in Obsidian.

splash

Installation

Install from the Community Plugins section in Obsidian:

  1. Open Obsidian Settings
  2. Go to Community Plugins → Browse
  3. Search for "Auto Close Tags"
  4. Click Install and Enable

Features

  • Auto-close on typing: Automatically adds closing tags when you type >
  • Auto-close on paste: Works when pasting HTML content
  • Manual closing: Use the "Close last unclosed tag" command (configurable hotkey)
  • Smart detection: Handles nested tags and self-closing elements
  • Exclude tags: Configure which tags to ignore in settings
  • Code block awareness: Optionally ignore tags in code blocks and inline code

Settings

  • Excluded tags: Comma-separated list of tags to ignore (e.g., div, span, i)
  • Cursor position: Place cursor between tags or after closing tag
  • Ignore fenced code blocks: Skip auto-closing in ``` code blocks
  • Ignore inline code: Skip auto-closing in inline code spans

Development

npm install
npm run build
78%
HealthExcellent
ReviewSatisfactory
About
Close HTML tags as you type or paste, smartly handling nested tags and self-closing elements. Invoke the manual "Close last unclosed tag" command, exclude specific tags from auto-closing, and optionally ignore fenced code blocks and inline code.
HTMLEditingCommands
Details
Current version
1.1.2
Last updated
10 months ago
Created
11 months ago
Updates
4 releases
Downloads
612
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
k0srck0src
github.com/k0src
GitHubk0src
  1. Community
  2. Plugins
  3. HTML
  4. Auto Close Tags

Related plugins

Paste URL into selection

Paste URL "into" selected text.

Vimrc Support

Auto-load a startup file with Vim commands.

Code Editor Shortcuts

Add keyboard shortcuts (hotkeys) commonly found in code editors such as Visual Studio Code (VS Code) or Sublime Text.

Slash Commander

Customize the slash command list, assign each command an icon.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Meta Bind

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

Outliner

Work with your lists like in Workflowy or Roam Research.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Various Complements

Complete words similar to auto-completion in an IDE.