I use markdown headers in my callout titles sometimes, and the icon and the title text become unaligned. Here’s a snippet to fix that. It does a very tiny thing:
- Vertically center-align callout titles that use markdown headers.
BEFORE: Here’s the default behavior in the default theme.
AFTER: Here’s the new behavior in the default theme.
Steps to get it going
- Download it.
- Put it in your snippets folder (within the .Obsidian folder)
- Go to Obsidian > Settings > Appearance
- Scroll to the bottom, refresh the snippets.
- Toggle on
aligned-callout-header-titles
You can download the code on github here to get it going:
Enjoy,
Nick
PS: I hope Obsidian just adds this eventually. Fingers crossed.