new-tab-default-page
                                
                                 new-tab-default-page copied to clipboard
                                
                                    new-tab-default-page copied to clipboard
                            
                            
                            
                        Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.
New Tab Default Page
 
Obsidian plugin to open a note of your choice or the Quick Switcher when creating a new tab, like in the browser.
- Examples for Default New Tab Pages
- Usage
- Advanced Examples
- Random Quote
 
- Installation
- Donate
- Thanks
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
- Set the note to open in new tabs in the plugin settings.
- Set the mode in which the note should open.
- 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: Settings → Community Plugins → Browse → Search for "New Tab Default Page"
Donate
Thanks
Thanks to @pjeby and various people from the #plugin-dev channel for helping me out.
