No description
Find a file
2025-08-02 22:07:50 -05:00
.github/workflows add release workflow 2025-06-18 18:32:37 -05:00
assets update readme 2025-08-02 00:56:11 -05:00
src OOP Refactor 2025-08-02 22:07:50 -05:00
.editorconfig auto close 2025-06-18 18:21:49 -05:00
.eslintignore auto close 2025-06-18 18:21:49 -05:00
.eslintrc auto close 2025-06-18 18:21:49 -05:00
.gitignore auto close 2025-06-18 18:21:49 -05:00
.npmrc auto close 2025-06-18 18:21:49 -05:00
esbuild.config.mjs auto close 2025-06-18 18:21:49 -05:00
LICENSE Remove settings heading, convert UI titles to sentence case 2025-07-18 17:02:32 -05:00
main.ts OOP Refactor 2025-08-02 22:07:50 -05:00
manifest.json Bump to 1.1.2 2025-07-18 17:10:00 -05:00
package-lock.json OOP Refactor 2025-08-02 22:07:50 -05:00
package.json Fix package.json 2025-07-18 17:12:30 -05:00
README.md update readme 2025-08-02 00:56:11 -05:00
tsconfig.json auto close 2025-06-18 18:21:49 -05:00
version-bump.mjs auto close 2025-06-18 18:21:49 -05:00
versions.json auto close 2025-06-18 18:21:49 -05:00

Auto Close Tags

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 PluginsBrowse
  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