Simple Tab Indent

by Thiago Frias
5
4
3
2
1
Score: 45/100

Description

The Simple Tab Indent plugin redefines how the Tab key behaves by inserting a zero-width space followed by a real tab character. This workaround prevents lines from being misinterpreted as code blocks in markdown while preserving the visual indentation in the editor. It works seamlessly in both source mode and live preview, offering a smooth writing experience without markdown quirks. Users can also customise the tab rendering width through plugin settings using CSS tab-size, which takes effect instantly. It's a minimalist plugin with no build steps or dependencies, ideal for those who want clean, consistent indentation without unexpected formatting changes.

Reviews

No reviews yet.

Stats

7
stars
4,480
downloads
1
forks
344
days
340
days
380
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
3
total issues
1
open issues
2
closed issues
0
commits

Latest Version

README file from

Github

Simple Tab Indent for Obsidian

Tab now inserts a zero-width space + real tab (\u200B\t).
Because the first character isn’t whitespace, Markdown no longer turns the line into an indented code block, yet you keep a true tab width in the editor.


✨ Features

🔹 Replaces Obsidian’s default Tab handler with ZWSP + Tab.
🔹 Works in Source Mode and Live Preview.
🔹 Configurable tab width – set any tab-size via the plugin’s settings panel (default 4).
🔹 Zero build-step, zero runtime dependencies – just manifest.json & main.js.

⚙️ Configuration

Settings ▸ Plugin options ▸ Simple Tab Indent

  • Tab width – number of spaces a tab should render as (CSS tab-size, default 4).
    Change the value, the editor updates instantly.

🩹 Troubleshooting

Problem Solution
Plugin not listed Check the folder path & manifest, then Reload plugins.
Another extension still intercepts Tab Look in Settings ▸ Hotkeys for conflicting Tab bindings, disable them.

⚠️ Important: Task Recognition Limitation

Please be aware: When you use this plugin to indent task lines or list items, those indented items will not be recognized by:

  • Obsidian's built-in task management features
  • Any task management plugins (like Tasks, Dataview, etc.)
  • Obsidian's search when looking for tasks

If you rely on task management features in Obsidian, consider whether this trade-off works for your workflow before enabling this plugin.


📜 License

MIT • Made with ☕ by Thiago Frias

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.