Show tab numbers

It’s easy to jump to specific tabs by number with the help of hotkeys. But it’s hard to eyeball which number unless a number is shown. Maybe a prefix of 1. for example

1 Like

Try this css snippet:

.mod-root .workspace-tab-header-container {
    counter-reset: tabOrder;

.mod-root .workspace-tab-header {
    counter-increment: tabOrder;

.mod-root .workspace-tab-header:not(.is-active) .workspace-tab-header-inner::before {
    content: counter(tabOrder);


Doesn’t seem to work for me. Have followed these instructions - CSS snippets - Obsidian Help

Damn! I forgot to enable css snippet after installing it. After enabling, it works fine. Thanks!

1 Like