Skip to content

Instantly share code, notes, and snippets.

@gbrlb
gbrlb / weekelynote.md
Last active January 24, 2024 14:19
Weekly Review - Worked This Week : Obsidian dataview to md table + admonition + copy button

2022-W08

  • File name must be in kkkk-'W'WW format, for example 2022-W08
  • Uncomment last line dv.paragraph(mdv); if you like to see the result inside a collapse ad-note
  • You could copy the table and delete the dataview to maintain the work today table, and the links inside the table will update, but the table will remain for future review.
  • To exclude a folder modifly dailynotes in:
let pages = dv.pages('-"dailynotes"')
@gbrlb
gbrlb / dailynote.md
Last active January 24, 2024 14:19
Daily Review - Worked Today : Obsidian dataview to md table + admonition + copy button

{{date}}

  • File name must be in yyyy-MM-dd format, for example 2022-02-23
  • Uncomment last line dv.paragraph(mdv); if you like to see the result inside a collapse ad-note
  • You could copy the table and delete the dataview to maintain the work today table, and the links inside the table will update, but the table will remain for future review.
  • To exclude a folder modifly dailynotes in:
const created_dv_rows = dv.pages('-"dailynotes"')
...
@gbrlb
gbrlb / mermaid.css
Created October 8, 2021 20:21
Mermaid obsidian snipped
svg[id^="m"][width][height][viewBox] {
font-family: cursive;
font-size: inherit !important;
}
/* Texts */
svg[id^="m"][width][height][viewBox] .label {
font-family: cursive !important;
font-size: inherit !important;