This snippet implements drop caps in Obsidian. It works by assigning a specific font to a character which has been given the dcaps
class:
<span class="dcaps">I</span>
This was inspired by gwern.net.
Scientific papers, blogposts, excerpts, etc., need to have a different style than the common note. article.css
applies a custom font, shrinks the reading length, centers the headings and tones down the color palette.
Syntax:
---
cssclass: article
---