Skip to content

Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.

License

Notifications You must be signed in to change notification settings

chrisgrieser/new-tab-default-page

Repository files navigation

New Tab Default Page

Obsidian Downloads last release version

Obsidian plugin to open a note of your choice or the Quick Switcher when creating a new tab, like in the browser.


📽️ YouTube Demo of the plugin


Examples for Default New Tab Pages

  • your homepage note
  • your daily note
  • a scratchpad note
  • trigger a quick switcher
  • an image
  • a random quote

Usage

  1. Set the note to open in new tabs in the plugin settings.
  2. Set the mode in which the note should open.
  3. Open a new tab.

Note
Closing your last tab also opens the new tab page.

Advanced Examples

Random Quote

To have a random quote on every new tab, you can use dataview and paste the following code as a dataviewjs-codeblock in a note.

const quote = JSON.parse(await request("https://api.quotable.io/random"));
dv.span(`> "${quote.content}"  \n> <div style="text-align:end; color:var(--text-muted); font-weight: 600; font-size:90%;">– ${quote.author}</div>`);

Then, enter the path of the note in the New Tab Default Page settings, and select Reading Mode. Now every new note will display a random quote.

Submit your own idea

Have a cool idea of your own? Feel free to make a PR to this README and submit your own idea.

Installation

Available in Obsidian's Community Plugin Browser via: SettingsCommunity PluginsBrowse → Search for "New Tab Default Page"

Donate

Buy Me a Coffee at ko-fi.com

Thanks

Thanks to @pjeby and various people from the #plugin-dev channel for helping me out.