HTML Tabs

by Patrick Tournet
5
4
3
2
1
Score: 24/100

Description

Category: Note Enhancements

The HTML Tabs plugin allows you to create visually appealing and customizable tabs in your Obsidian notes. With this plugin, you can organize your content into separate sections, making it easier to navigate and focus on specific topics. The plugin provides a range of options for styling the tabs, including colors, fonts, and sizes, giving you complete control over their appearance. Additionally, the plugin supports multiple levels of nesting, allowing you to create a hierarchical structure for your notes. This is particularly useful for complex projects or research documents that require detailed organization.

Reviews

No reviews yet.

Stats

54
stars
7,628
downloads
3
forks
943
days
883
days
888
days
1
total PRs
1
open PRs
0
closed PRs
0
merged PRs
10
total issues
8
open issues
2
closed issues
0
commits

Latest Version

2 years ago

Changelog

  • Updating the cache to have links (only the ones between [[ and ]]) and, therefore, backlinks working

README file from

Github

Obsidian HTML-Tabs

This plugin allows you to easily embed tab controls in your notes.

Example

HTML Tabs Demo

Installation

Download from Github

This is the only way to install the plugin pending its validation to appear on the list of official community plugins:

  1. Go to https://github.com/ptournet/obsidian-html-tabs/releases
  2. Download the latest release.
  3. Extract and put the three files (main.js, style.css, manifest.json) to folder {{obsidian_vault}}/.obsidian/plugins/html-tabs
  4. In Settings > Community plugins, activate HTML Tabs

Install from Plugin Store

Follow the steps below to install HTML Tabs:

  1. Open Settings > Community plugins
  2. Click Browse in the Community plugins section
  3. Search for HTML Tabs
  4. Clink Install and then Enable

Usage

The definition of a tab control containing 3 tabs has the following structure:

~~~tabs
---tab <label-of-first-tab>
<content-of-first-tab>
---tab <label-of-second-tab>
<content-of-second-tab>
---tab <label-of-third-tab>
<content-of-third-tab>
~~~

or:

```tabs
---tab <label-of-first-tab>
<content-of-first-tab>
---tab <label-of-second-tab>
<content-of-second-tab>
---tab <label-of-third-tab>
<content-of-third-tab>
```

The <label> of a tab is in plain text (no markdown allowed), while its <content> can use the full Obsidian Markdown syntax. It's particularly possible to embed antother note (with the syntax ![[Note-to-embed]]) or have a fenced code block.

In this case, you have to be careful not to use the same characters as the ones for defining your tabs: if you used

~~~tabs
~~~

the code blocks in your tabs should be defined as:

```<lang>
```

but if you're used to defining you code blocks as:

~~~<lang>
~~~

then you should define your tabs as:

```tabs
```

Customization

For the time being, if you want to change the way your tabs look, you have to use a CSS Snippet.

For that, you'll first need to create a html-tabs.css file in your snippets directory. If you don't know where it lives on your hard drive, you can locate it at the bottom of the Appearance page in your Obsidian Settings.

You can then ovveride the html-tab* classes defined in the styles.css file in the plugin directory.

Contributing

You are welcome to contribute to this plugin via bug reports, bug fixes, documentation, or general improvements. For a major feature, please make an issue about your idea / reach out to me so I can decide if and how to best implement it.

Pricing

This plugin is provided to everyone for free, however if you would like to say thanks or help support continued development, feel free to send a little my way through one of the following methods:

GitHub Sponsors Paypal

Credits

Thanks to gapmiss/obsidian-alpinejs which helped me integrating Alpine.js to get the tab switching working.

Limitations

As of now, there is no interaction between Obsidian and the content of the tabs. For instance, if there is a task in a tab and you check it, its status won't persist if you switch to another tab and come back... And this task won't be found by a query (datatview or tasks plugin). A heading on a tab won't show in the note Outline either.

Todo

  • First version of README
  • Validate on Android
  • Create a test-vault and modify dev script
  • Releasing v1.0.0
  • Markdown rendering of label
  • Updating Obsidian cache
    • for Links (in order to have backlinks working)
    • for Headings (in order to have the note Outline working)
    • for Lists (in order to have Tasks woring)
    • for Tags
    • for Embeds
    • for Sections
  • Create first Settings
  • Integrate labels in note outline
  • Ability to open note on a specific label/tab
  • Improve standard editing experience (place cursor in the right place in the right tab)
  • Improve embedded editing experience (if tab content is in another note, allow editing that note instead)
  • Buttons to easily create/edit tabs
  • More visual configuration (for people who don't master CSS)

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Achievements
3 years ago by Zachatoo
Add achievements to Obsidian to help guide the user to build good habits in Obsidian.
AI bot
a year ago by kuzzh
The AI Bot Plugin is a powerful tool designed to enhance your note-editing experience in Obsidian by leveraging the capabilities of AI. This plugin allows you to interact with an AI assistant directly within Obsidian, making it easier to generate, edit, and organize your notes with intelligent suggestions and automated tasks.
Auto Bullet
a year ago by takitsuba
Auto Classifier
3 years ago by Hyeonseo Nam
Auto classification plugin for Obsidian using ChatGPT.
Autofit Tabs
a year 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.
BookNav
2 years ago by jemberton
A plugin for ObsidianMD that enables book style navigation links in a note.
Bottom to Top
a year ago by Henry Gustafson
Callout Toggles
2 years ago by Aly Thobani
An Obsidian plugin to quickly add, change, or remove callout wrappers in your notes.
CodeBlock Tabs
3 years ago by Jemin Mau
Create tab group for contiguous codeblocks.
Consecutive Lists
2 years ago by Josh Tucker
Disable Tabs
4 months ago by David V. Kimball
Disables having more than one tab open at a time Obsidian.
Editor Autofocus
2 years ago by Mgussekloo
External Link Opener
3 years ago by zorazrr
Obsidian plugin to open external links in modals or tabs
Ghost Fade Focus
5 years ago by Sami Korpela
Ghost Fade Focus plugin for Obsidian
GPT-3 Notes
3 years ago by micahke
An Obsidian plugin to generate notes based on GP3 output.
LLM Summary
2 years ago by QSun
wip
Masking Type
a year ago by Telehakke
Obsidian plugin.
Mindmap
2 years ago by YunXiaoYi
An Obsidian plugin for creating Mindmaps.
Minitabs
2 years ago by ssjy1919
Obsidian tabs
Mobile Sidebar Notes
6 months ago by Chris Kephart
Open notes & new tabs in the sidebar on the Obsidian mobile app.
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.
New Bullet With Time
3 years ago by Boninall
A plugin allows you to auto add current time to new bullet line.
New Tab +
2 years ago by Raphaël Le Carval
Allow to open markdown files, graph and canvas in new tab as the default behavior.
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.
Pluck
5 years ago by Kevin Barrett
Quickly create notes in Obsidian from web pages.
Post Webhook
a year ago by MasterB1234
A plugin for Obsidian that sends notes to Webhook endpoints (e.g. n8n, Make.com, Zapier) for streamlined automation and integration.
Reading comments
3 years ago by BumbrT
Reading comments, for consuming books or large articles in markdown with https://obsidian.md/.
Relative Timestamps
2 years ago by Charles Young
Restore Tab Key
3 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.
Shrink pinned tabs
2 years ago by Nicolas Lœuillet
Obsidian plugin to shrink pinned tabs in order to save screen space
Smooth Navigator
a year ago by Michael Schrauzer
Smoothly cycle through open files and splits in Obsidian via the keyboard.
Tab File Path
8 months ago by John Burnett
Tab Group Arrangement
a year ago by situ2001
Arrange the tab groups of Obsidian in a more flexible way
Tab Limiter
a year ago by Henry Gustafson
Limits the number of tabs that can be opened in Obsidian
Tab Selector
2 years ago by namikaze-40p
This is an Obsidian plugin which can quickly switch tabs in various ways.
Tab Shifter
2 years ago by Joshua Rozner
Tab Switcher
5 years ago by Vinzent & phibr0
Tab Switcher - Obsidian Plugin
Table Extended
5 years ago by AidenLx
Extend basic table in Obsidian with MultiMarkdown table syntax
Tabs
2 years ago by Huajin
Templater
6 years ago by SilentVoid
A template plugin for obsidian
tidit
a year ago by codingthings.com
tidit is an Obsidian - https://obsidian.md - plugin that adds timestamps to your document as you type — when you want it, how you want it, where you want it.
Time Inserter
7 months ago by heycalmdown
Obsidian plugin to insert current time at cursor position with exact or rounded formats
Trakt.tv Sync
a year ago by Nick Felker
Sync Trakt checkins to Obsidian file
Varinote
a year ago by Giorgos Sarigiannidis
A plugin for Obsidian that allows you to add variables in Templates and set their values during the Note creation.
Vertical Tabs
2 years ago by oxdc
An Obsidian plugin that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.
Wheel Tab Switcher
a year ago by 22-2
Switch between Obsidian Tabs using your mouse wheel when hovering over tab headers.
Whisper
3 years ago by Nik Danilov
Speech-to-text in Obsidian using Whisper
ZettelFlow
3 years ago by RafaelGB
ZettelFlow is a plugin for Obsidian that helps you to create and manage your notes in a Zettelkasten way.