- is it possible to put a password on a note or folder in obsidian ?
or maybe in some other way to obstruct access ?
- how to use snippets, after I activated them in the menu and inserted them into a note
what else should be done to make beautiful icons appear , etc ?
I try to use this snippet for homepage DashboardPlusPlus/.obsidian/snippets at master · TfTHacker/DashboardPlusPlus · GitHub
Password protecting notes would be done with a plugin currently . This one shows up in a quick search. There may be more.
For CSS snippets, the steps are here:
For next time, it’s best to stick to one question or issue per post to keep things on track. Thanks!
regarding css snippets, I still did not understand how to use them, what should I write in the body of the note to make css work?
ok that’s reasonable
Have a look at the CSS snippets link above. You don’t write the CSS in the body of a note; you create a .css file and put the CSS snippet(s) in there that then affect the style of your note, the Obsidian interface, etc.
I still don’t understand what I should write in the body of the note?
If I take the css from the example
what should I call in the body of the note to get red text?
If you enabled that snippet in the default theme, anything with the variable of
--text-normal would turn red (which includes regular note text and a bunch of other stuff). Probably don’t want to do that.
yes your example works without any code in note, it works for all interface
but I need to run my css from link above
for example in css file I have
padding-left: 25px !important;
padding-right: 25px !important;
padding-top: 20px !important;
How can I call this code in the body of the note ?
Can you explain what you are trying to do?
I’m trying to run the css in the body of the note from the example above. There are two css files I added them to the obsidian
Here’s a screenshot
But I can’t understand how I should call them in the body of the note ?
Looking at the third css file in your image, maybe you are trying to change the readable line length of the editor? You can use either of these with the default theme:
/*--file-line-width: 900px; /* default is 700px */
The steps to set up the Dashboard are all in the medium link here:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.