Skip to content

Instantly share code, notes, and snippets.

View leandromuto's full-sized avatar
🤷‍♂️
What's happening?

Leandro Muto Botassio leandromuto

🤷‍♂️
What's happening?
View GitHub Profile
{
"profile": {
"content_settings": {
"exceptions": {
"javascript": {
"https://www.google.com.br,*": {
"setting": 2
},
},
},
Tracker plugin: https://github.com/pyrochlore/obsidian-tracker
## Gym, Study and BuJo
``` tracker
searchType: frontmatter
searchTarget: gym, study, bujo
folder: Daily
datasetName: Gym, Study, Bujo
startDate: 2023-01-01
@leandromuto
leandromuto / dashboard.css
Created January 6, 2023 15:10
obsidian home dashboard
/* Updated 2022-02-28 */
.dashboard {
padding-left: 25px !important;
padding-right: 25px !important;
padding-top: 20px !important;
width: 100%;
}
.dashboard .markdown-preview-section {
/* Updated 2022-02-28 */
.dashboard {
padding-left: 25px !important;
padding-right: 25px !important;
padding-top: 20px !important;
width: 100%;
grid-template-columns: 25% 25% 25% 25%;
}
cssclass createdAt modifiedAt aliases linter-yaml-title-alias
dashboard
202301040002
202301061515
Work-Life
Work-Life

Work-Life

---
cssclass: dashboard
createdAt: 202301040002
modifiedAt: 202301061515
aliases: [Work-Life]
linter-yaml-title-alias: Work-Life
---
# Work-Life
---
cssclass: dashboard
createdAt: 202301040002
modifiedAt: 202301061515
aliases: [Work-Life]
linter-yaml-title-alias: Work-Life
---
# Work-Life

Here's a little CSS snippet to create a simple header to link yesterday, tomorrow, and T-1Y notes to the daily note. If you don't know what I'm talking about, you can check the @TfTHacker repo where they create a customized dashboard or @FromSergio youtube video explaining how to activate CSS customization.

Here are the steps:

  1. Copy the CSS code from the first comment below and create a new file in the ./obsidian/snippets folder. The name of the file will be the name of the snippet;
  2. In the Obsidian app, open Settings -> Appearance -> CSS Snippets and toggle the previously created snippet;
  3. Create a draft markdown file and paste the markdown from the second comment;
    1. Change the internal notes link if you want
  4. Change to Reading View en voilá!