I am new to Obsidian and feeling overwhelmed with the available information. I am trying to replicate a behavior demonstrated by Nick Milo. Specifically, whenever I create a new note, the title of the note is automatically inserted as the TITLE within the note content. My goal is to replicate this behavior while hiding the title inside the note as demonstrated by the author of the video.
I have searched the help docs and forum using relevant terms but haven’t found a solution. I also attempted to troubleshoot by disabling all third-party plugins to determine if the behavior was automatic, but that did not resolve the issue. I am wondering if it’s a matter of using these following solution thoght I still don’t know properly about them:
Templater Plugin: I’m considering using the Templater plugin to create a template that automatically inserts the note’s title as an H1 and link at the same time. Example script:
# <% tp.file.title %>
CSS Snippet: If the title is inserted but I want to hide it, I have to use a CSS snippet:
css
h1 {
display: none;
}
Core Plugin (Note Title & Headers): I’m exploring if any core plugins in Obsidian can handle this automatically.
Advanced URI Plugin: I’m also considering this plugin to dynamically manipulate the note content.
Which solution do you think is the best? Which are my mistakes?
If you go to Settings > Appearance and scroll down a bit, under Interface you can unselect Show inline title. That removes the title from the note content.
Titles/Links
The title of the note is automatically the link to that note as well, or rather you link to it by putting the link between square brackets [[title]]
Without knowing the precise note contents, I’m not sure what the problem with the link from your screenshot is, but maybe you tried adding those two square brackets in the link? That wouldn’t work, so in your case the link should be [[Diritto all'autoprescizione]]. If your note title (or the file name) includes square brackets, that won’t work in Obsidian because it needs the square brackets for the links.
You can use your Templater file, and that should work, but if you use your snippet, I think that would hide ALL Level 1 Headers, so that I don’t think that’s wht oyu want.
Please correct me, if I’m misunderstanding, but I think you’d be doubling up. You don’t need to create a link to the file from within itself, so you can have the title if you want, but if you link to the note from other notes, all you need is the file name.
Wow, was it really that easy? I was going crazy! Thank you so much for taking the time to reply! I really appreciate it—it means a lot to me as a newbie . Regarding the link problem with [[ ]], I’m basically trying to understand the best practices for taking notes and managing quotes. Since Obsidian is like a blank canvas and you can do whatever you want with it, I’ve been watching tutorials to get the best possible start. I am trying to understand how to create my second brain, thought I am not good at taking note right now.
The common “rule” I’ve seen a few times is not to worry too much about how to do things best or most efficient. Just take notes or do whatever with Obsidian, and then if you have concrete questions or need to do something, look it up or ask here.