Example of an Advanced Setup in Obsidian #73
Unanswered
qt-dork
asked this question in
Show and tell
Replies: 1 comment
-
Haha these look like my class notes! Loving this template. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
idk @Ninjani told me this when i sent her some pics of my gooseberry setup and templating, so i figured i should do what she asked and post this on the discussion page, like she wanted.
i had a lot of fun messing around and learning a bunch of handlebars stuff to make this so I hope it's useful for y'all too? it's set up to include the (Show in context) link inline next to whatever would be most relevant, because I feel like it's not useful to see a link to view the context at the very bottom away from everything else. it also doesn't include tags in annotations that doesn't have any, which i find useful because i really only use annotation tags in page notes that apply tags to the actual page in Obsidian. really, the only thing left i'd like to add is links to the related daily note for that annotation or page, but chronos for rust isn't as comprehensive as moment.js, and it doesn't support roam-styled dates (e.g. April 6th, 2021), so i guess i'll fix that if they're ever supported.
Screenshots
Screenshot of a part of a page.
Example of the formatting in a highlight with an annotation added.
Example of the formatting in a page note.
Code
Individual annotation template:
Page template:
there's some minor issues with spacing, as there'll sometimes be too many or too few line breaks in stuff, but i don't really know how to use the tilde in handlebars for line breaks, so if anyone can help fix that i'd really appreciate it
Beta Was this translation helpful? Give feedback.
All reactions