Markdown Tabs

by xhuajin
5
4
3
2
1
Score: 46/100

Description

The Tabs plugin turns a fenced tabs block into a tabbed interface for note content. It lets each tab hold plain text, regular code blocks or even another tabs block, so nested layouts are possible without leaving markdown. The plugin includes layout controls for placing the tab bar at the top, left, right or bottom, plus single row scrolling and multi line navigation modes. Titles can be decorated, tabs can be edited directly from the rendered view with auto saving and Ctrl+S and deleted tabs can be restored with undo. It also supports creating tabs from clipboard content and adds a command to create or convert selected text into a tabs component.

Reviews

No reviews yet.

Stats

189
stars
39,933
downloads
12
forks
67
days
63
days
63
days
3
total PRs
0
open PRs
1
closed PRs
2
merged PRs
84
total issues
47
open issues
37
closed issues
28
commits

Latest Version

2 months ago

Changelog

README file from

Github

Obsidian Tabs

Thanks to the Code Tab plugin for the inspiration, but since it had not been updated for a long time and it wasn't support edit content directly, I refactored the plugin and added a lot of features.

[!WARNING] Please refrain from entering tasks directly within the Tabs code block.

The Tabs function operates based on the code block. In Obsidian, text within a code block is treated as plain text. Consequently, if you input tasks inside a code block, neither the tasks plugin nor the dataview plugin will be able to recognize them.

tabs-2

tabs-4

Usage

1. Create a tabs code block

Generate a tab component using the tab code block.

```tabs
tab: TAB ONE
Content of TAB ONE

tab: TAB TWO
Content of TAB TWO
```

2. With other code block

If your tab contents have code block, you need to use more `, like

````tabs
tab: python
```python
print("Hello Tabs")
```

tab: javascript
```javascript
console.log('Hello Tabs');
```
````

Or you can use '~' to create code block, like

~~~tabs
tab: python
```python
print("Hello Tabs")
```

tab: javascript
```javascript
console.log('Hello Tabs');
```
~~~

tabs-5

With this feature, you can create tabs component nested.

````tabs
tab: TAB-ONE
An innerTab in TAB-ONE 👇

```tabs
tab: inner tab one
This is an inner tab.

tab: inner tab two
This is an inner tab.
```

tab: TAB-TWO
````

or use '~' to create code block(inside or outside).

~~~tabs
tab: TAB-ONE
An innerTab in TAB-ONE 👇

```tabs
tab: inner tab one
This is an inner tab.

tab: inner tab two
This is an inner tab.
```

tab: TAB-TWO
~~~

tabs-6

3. Customize your tabs

Add configuration information at the beginning(comma separate). Only the last configuration of the same type takes effect.

```tabs
top, multi
tab: TAB 1
Tab content
tab: TAB 2
Tab content
```
Configuration Explanation
top Tabs nav bar will be displayed at the top.
left Tabs nav bar will be displayed on the left.
right Tabs nav bar will be displayed on the right.
bottom Tabs nav bar will be displayed at the bottom.
one Tabs nav bar can scroll with many nav items.
multi Tabs nav items will show in multi line.

tabs-nav-left

You can decorate tab title too.

tabs-decorate-title

4. Edit tab

Double click the content can rouse an editor if you turn on the setting 'Double click to edit'. You can also use action button if you set it to 'Edit tab' in setting.

The editor automatically saves the edited content. You can change the interval between your last editing and editor saving in setting 'Auto saving interval'. Content will be saved when the editor is closed. You can also use the shortcut Ctrl+S to save the editing content.

tabs-editing

If you want to delete a tab, you can right click the tab and delete it.

tabs-delete

If you accidentally delete a tab, you can use ctrl z to restore it.

You can quickly create a new tab using the contents of the clipboard.

tabs-paste

tip: if tab nav is too long, try to hold shift and scroll.

Remember to click the save button after editing.

5. Command

Provides a command to quickly create or convert selected text to a Tabs component. Click Cmd-p to open the setting pannel. Search for 'Tabs'.

tabs-command

Showcase

Insert a tab component into markdown file.

tabs-1

With Dataview & Tasks

From DeusEx01

showcase-DeusEx01

tabs-3

With LeetCode

tabs-7

Tab nav on the left

tabs-nav-left

Tabs in mobile, from DeusEx01

showcase-DeusEx01

If you have a usage you'd like to share, feel free to raise an issue or pull a request. I'll add it to readme.

Todo

  • Tabs drag and drop in different files.
  • Obsidian native editor (Live preview mode)

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Core Search Assistant
5 years ago by qawatake
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Insert Heading Link
5 years ago by Signynt
Add a Link to a Heading.
Search Everywhere
5 years ago by Mom0
Obsidian Search Everywhere Plugin
Card View Switcher
4 years ago by qawatake
An Obsidian plugin to provide a quick switcher with card view
Scroll Offset
4 years ago by Lijyze
Scroll Offset for Obsidian
Folder Focus Mode
4 years ago by grochowski
Focus file explorer on chosen folder and its files and subdirectories, while hiding all the other elements.
Open Related Url
4 years ago by Dan Pickett
No Dupe Leaves
4 years ago by Simon Cambier
Automatically switch the focus to open notes instead of reopening them
New Tab Default Page
4 years ago by pseudometa
Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.
Quick snippets and navigation
4 years ago by @aciq
Quick snippets and navigation for Obsidian
obsidian floating toc
4 years ago by curtgrimes modified by Cuman
Chorded Hotkeys
4 years ago by Trey Connor Meyers
Type multiple letters at the same time to trigger text insertion, template insertion, or command execution.
External Link Opener
4 years ago by zorazrr
Obsidian plugin to open external links in modals or tabs
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Restore Tab Key
4 years ago by jerrymk
An Obsidian plugin to make the tab key insert a tab, and make it feel like any other IDE regarding tabs and indentation.
Commando
3 years ago by qaptoR
Obsidian Plugin for automatically repeating commands with loop iterations
Floating Search
3 years ago by Boninall
A plugin for searching text by using Obsidian default search view.
Tab Rotator
3 years ago by Steven Jin
Obsidian Rotate opened tabs with a specified time interval
Quickly
3 years ago by Sparsh Yadav
Quick capture to obsidian note
Link Range
3 years ago by Ryan Mellmer
Add ranged link support to Obsidian
Open Plugin Settings
3 years ago by Mara-Li
Create a command that open the settings tabs of a registered plugin (because I was bored to open the parameters).
Better MathJax
3 years ago by GreasyCat
Advanced Random Note
3 years ago by Karsten Finderup Pedersen
Create commands from custom queries to open random notes
CodeBlock Tabs
3 years ago by Jemin Mau
Create tab group for contiguous codeblocks.
Mononote
3 years ago by Carlo Zottmann
An Obsidian plugin that ensures each note occupies only one tab. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab.
URL Display
3 years ago by Stephanie Lin
Extract and display external URLs of the note in Obsidian.
Next Link
3 years ago by Juan Luque
HTML Tabs
3 years ago by Patrick Tournet
Obsidian plugin allowing the creation and rendering of Tabs and tab panels in your notes.
Go To Heading
3 years ago by join
Quickly navigate between your document's headings in Obsidian
Minitabs
3 years ago by ssjy1919
Obsidian tabs
Quick Preview
3 years ago by Ryota Ushio
An Obsidian plugin to quickly preview a suggestion before selecting it in link suggestions & quick switcher.
Neighbouring Files
3 years ago by Fabian Untermoser
Obsidian Plugin to navigate to the next and previous file in the current directory
Arrows
3 years ago by artisticat
Draw arrows across different parts of your notes, similar to on paper
Tab Shifter
3 years ago by Joshua Rozner
Daily Note Navbar
3 years ago by Karsten Finderup Pedersen
Adds a daily note navbar to quickly navigate between sequential daily notes in Obsidian.
Command Block List
3 years ago by Ryota Ushio
Hide unwanted commands from the command palette in Obsidian.
Crafty
3 years ago by liolle
Add tooltip to your obsidian canvas's nodes and navigate between nodes
Line Commands
3 years ago by charliecm
Adds commands to quickly select, copy, cut, and paste lines under the selection or cursor.
Canvas minimap
3 years ago by ifree
Obsidian canvas minimap
Tab Selector
3 years ago by namikaze-40p
This is an Obsidian plugin which can quickly switch tabs in various ways.
Metafolders
3 years ago by Makary Sharoyan
An Obsidian plugin for multidimensional note navigation
Spellcheck Toggler
3 years ago by Julian Szachowicz
A plugin for Obsidian which gives you more control over the red-underline spellcheck behaviour.
Hemingway Mode
2 years ago by Joaquín Bernal
Automation
2 years ago by Benature
Bookmarks Caller
2 years ago by namikaze-40p
This is an Obsidian plugin which can easily open bookmarks.
Tab Navigator
2 years ago by o02c
obsidian-tab-switcher
Select word
2 years ago by Connor Espino
Cursor Jump
2 years ago by Sangwon Jung
Vault Name
2 years ago by @gapmiss
An Obsidian.md plugin for customizing and displaying the vault name (title) in the side navigation file explorer, similar to pre 1.6.0 versions of Obsidian.
Headings in Explorer
2 years ago by Patrick Chiang
This Obsidian plugin makes headings first class concepts in the file explorer and consolidates navigation to a single panel.
Another Sticky Headings
2 years ago by Zhou Hua
Shrink pinned tabs
2 years ago by Nicolas Lœuillet
Obsidian plugin to shrink pinned tabs in order to save screen space
VirtFolder
2 years ago by mr.grogrig
Creating a hierarchical structure like Luhmann's Zettelkasten
Rich Text Editor Shortcuts
2 years ago by Joshua Wootonn
Create and toggle checkboxes, paste links wrapping your current selection, and toggle underline without leaving the keyboard.
Recent Tab Switcher
2 years ago by Samuel Ang
Recent Tab Switcher Plugin for Obsidian.
Auto Correct Capitals Misspellings
2 years ago by Ummel
This plugin automatically corrects words where the first two letters are capitalized and the rest are lower case.
Highlight active folder section
2 years ago by Lukas Collier
Gives the folder section with the active note a customizable background color and more.
Advanced Tables
6 years ago by Tony Grosinger
Improved table navigation, formatting, and manipulation in Obsidian.md
Templater
6 years ago by SilentVoid
A template plugin for obsidian
macOS Keyboard Navigation
6 years ago by ryanjamurphy
Automatically reveal active file
6 years ago by Matt Sessions
Obsidian plugin to reveal the active file automatically when you open a file
Pane Relief
6 years ago by PJ Eby
Obsidian plugin for per-pane history, pane movement/navigation hotkeys, and more
Buttons
5 years ago by Sam Morrison
Buttons in Obsidian
Advanced URI
5 years ago by Vinzent
Advanced modes for Obsidian URI
Go to Line
5 years ago by phibr0
Shell commands
5 years ago by Jarkko Linnanvirta
Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
Quick Explorer
5 years ago by PJ Eby
Perform file explorer operations (and see your current file path) from the Obsidian.md title bar
URI Commands
5 years ago by kzhovn
Execute URIs from the command palette
Another Quick Switcher
5 years ago by tadashi-aikawa
This is an Obsidian plugin which is another choice of Quick switcher.
Reveal Active File Button
5 years ago by Clare Macrae
Obsidian plugin to add a button to the top of the Obsidian File Explorer, to reveal the active file.
Editing Mode Hotkey
2 years ago by Signynt
Obsidian plugin to change the default editing mode (between Live Preview and Source) using a command or hotkey
Command Tracker
2 years ago by namikaze-40p
An Obsidian plugin that tracks the number of times the command is used.
Link Navigation
2 years ago by xRyul
Navigate between incoming links (inlinks), outgoing links (outlinks) N levels deep. Links from Canvas are also supported.
Mouse Navigation
2 years ago by HoBeomJeon
Lemons Search
2 years ago by Moritz Jung
An Obsidian plugin that offers a fast fuzzy finder based quick switcher with preview.
Nav Link Header
2 years ago by ahts4962
Display navigation links at the top of the notes in Obsidian
BookNav
2 years ago by jemberton
A plugin for ObsidianMD that enables book style navigation links in a note.
Tree Search
2 years ago by catacgc
BlazeJump
2 years ago by henryco
Plugin for Obsidian that makes text navigation blazingly fast.
Folder Tabulation
2 years ago by SpeedaRJ
An open source plugin for obsidian that let's you treverse local folder structure via keybindings and commands.
Magiedit
2 years ago by Matteo Gassend
Tab Limiter
2 years ago by Henry Gustafson
Limits the number of tabs that can be opened in Obsidian
Tab Panels
2 years ago by GnoxNahte
Create tab panels to organize content into sections.
FastForwardLink
2 years ago by Idan Liberman
FastForwardLink Obsidian.md Plugin
Cursor Position on Title Enter
2 years ago by Por Chainarong Tangsurakit
Obsidian Plugin: Set the cursor position after pressing Enter on the note title.
Click Hint
2 years ago by kbwo
Dynamic Outline
2 years ago by theopavlove
Adds a customizable GitHub-like floating table of contents to Obsidian.
Anchor Link Display Text
2 years ago by Robert C Arsenault
An Obsidian plugin that makes anchor links look nicer by automatically populating display text.
Current File Tags
2 years ago by Trung Tran
AI Revisionist
2 years ago by Synaptic Labs
Pixel Perfect Image
2 years ago by Johan Sanneblad
Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.
Folder overview
2 years ago by Lost Paul
Provides a dynamic overview of your vault or folders in the format of a code block.
Autofit Tabs
2 years ago by Bradley Wyatt
Obsidian Plugin that automatically adjusts tab header widths in real-time to perfectly fit each tab's title content while maintaining a clean, seamless interface that prevents awkward text truncation and ensures optimal readability of your document titles.
FolderFile Splitter
2 years ago by Xu Quan
Cursor Position History
2 years ago by Florian Gubler
A Plugin to remember (and make accessible) the cursor history in Obsidian. Both within a file and across files.
Write Good
2 years ago by Mark Hesketh
Obsidian plugin to help improve writing style
Previous Daily Note
2 years ago by Marcos Talau
Plugin for Obsidian that opens the previous daily note
Tab Group Arrangement
2 years ago by situ2001
Arrange the tab groups of Obsidian in a more flexible way
Mode manager
2 years ago by dk949
Better management of reading/editing modes in obsidian
Backlink Full Path
a year ago by mnaoumov
Obsidian plugin that shows the backlink's full path in the backlinks panel.
Quick Nav
a year ago by exoticknight
Enhance your editing experience by unleashing the hidden power of shortcuts.
Smooth Navigator
a year ago by Michael Schrauzer
Smoothly cycle through open files and splits in Obsidian via the keyboard.
Duplicate line
a year ago by Marcin Sztolcman
Plugin for Obsidian: duplicate current line, or selection.
Open Tab Settings
a year ago by jesse-r-s-hines
Obsidian plugin that adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more
Proofreader
a year ago by pseudometa (aka Chris Grieser)
AI-based proofreading and stylistic improvements for your writing. Changes are inserted as suggestions directly in the editor, similar to suggested changes in word processing apps.
Reveal Folded
a year ago by d7sd6u
Adds a command that reveals current file while collapsing every other tree item
Mark Open Files
a year ago by Michael Schrauzer
Adds a marker to all the File Explorer items that are currently open in the Obsidian workspace.
Regex Line Filter
a year ago by 64MM4-KN1F3
A note filtering plugin for Obsidian
Tag Index
a year ago by wenlzhang
An Obsidian plugin that creates a curated list of important tags to serve as meaningful entry points to your knowledge base.
Variant Editor
a year ago by Kunal Jain
Obsidian plugin to create variants
Custom Slides
a year ago by David V. Kimball
Customize Obsidian's Slides core plugin's navigation, styles, and behavior.
Scrolls To Nav Top
a year ago by mario
Simply scrolls to nav top
Drag To Scroll
a year ago by Constantine Sazonov
Adds drag-to-scroll functionality to Obsidian. Hold mouse button and drag - now you can scroll like on touch device!
Code Blocks commands
a year ago by dragonish
Provide commands to insert code blocks with markup, and support triggering commands with backticks.
Note Minimap
a year ago by Yair Segel
Add a minimap to your Obsidian notes.
Tab File Path
a year ago by John Burnett
HOME key
a year ago by shichishima
Obsidian Plugin to move cursor to beginning of text, considering Markdown heading characters.
Canvas Link to Group
a year ago by TGRRRR
Plugin for Obsidian Canvas enabling direct links to specific groups within canvas files for improved navigation
Daily Notes Tweaks
10 months ago by René Coignard
Open a random daily note and automatically switch past daily notes to reading mode.
SideNote
10 months ago by mofukuru
Obsidian plugin: Add comment on the part of sentence and refer in comment view.
Last Edit Location
9 months ago by Kyoungdeuk
When opening a note, put the cursor at the last edit location.
Remember Scrollposition
9 months ago by s-blu
A plugin that saves the scroll position for each note to return you to where you left off
Disable Tabs
8 months ago by David V. Kimball
Disables having more than one tab open at a time Obsidian.
Edit Link Alias
8 months ago by mnaoumov
Obsidian Plugin that adds edit link alias command.
Better Link Clicker
8 months ago by Eniverz
An Obsidian plugin that modifies the default link click event.
Next TOC
8 months ago by RavenHogWarts
Floating TOC panel
Inline Local Graph
7 months ago by TKOxff
Inline Local Graph of Obsidian
Nova
7 months ago by Shawn Duggan
Nova - AI plugin for Obsidian that edits your documents directly through natural conversation. Stop copying from chat, start collaborating with AI.
Floating Headings
7 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
Table Line Break Mobile
7 months ago by marcelflymark
Obsidian plugin: Insert a new line break inside a table cell using the <br> HTML element
Expand Selection
5 months ago by Alex Tait
Obsidian plugin to expand your editor selection to lines, sections (recursive), or the entire note
Fix Tab Size
4 months ago by mnaoumov
Obsidian plugin that fixes tab size according to the settings.
Path in tab title
4 months ago by d9k
Local REST API with MCP
4 months ago by Adam Coddington
A secure REST API and Model Context Protocol (MCP) server for your vault.
Quick Switcher++
4 months ago by darlal
Enhanced Quick Switcher plugin for Obsidian.md
Vertical Tabs
3 months ago by oxdc
An Obsidian plugin that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.
Lean Terminal
3 months ago by Sascha D. Kasper
Embedded terminal for Obsidian powered by xterm.js and node-pty
Dragger
3 months ago by ariestar
An Obsidian plugin for dragging and rearranging any block.
Commander
3 months ago by jsmorabito
Commander - Obsidian Plugin | Add Commands to every part of Obsidian's user interface
Note Toolbar
2 months ago by chrisgurney
Flexible, context-aware toolbars for your notes in Obsidian.
Tab Switcher
2 months ago by Vinzent
Tab Switcher - Obsidian Plugin
Gay Toolbar
2 months ago by chaskane
Colorful, customizable toolbar for Obsidian, designed for mobile.
Notebook Navigator
2 months ago by Johan Sanneblad
A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.
Galaxy View
2 months ago by Rick
Ribbon Folder
2 months ago by limniemdung
obsidian plugin ribbon folder
Side-Notes
2 months ago by Fried Fishsticks
Tufte-style sidenotes for Obsidian
Tabsdown
2 months ago by grafanakibana
Create accessible, theme-native tabbed blocks for Markdown-renderable content in Obsidian.
Pinned Tabs
a month ago by NameIsKyro
Chrome-style compact pinned tabs for Obsidian with custom icons, smooth movement, and accidental-close protection.`
Mobile Sidebar Notes
a month ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Sectionals
22 days ago by Aaron Bell
Edit Markdown by structure
Excalink
21 days ago by Aditya Kumar
Excalink is an Obsidian plugin that enables IntelliSense-style autocompletion for groups and named frames inside .excalidraw.md files. When you type [[filename#, it suggests all available frame names, allowing fast, precise linking to parts of your drawings.
Simple Editorial
17 days ago by Beppe
A minimal editorial markup plugin for writers using Obsidian.
Weekday Commands
15 days ago by Wren