Skip to content

Commit 8df623f

Browse files
committed
new snippet description
1 parent d419fb0 commit 8df623f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Snippets
2+
13
### Drop caps
24

35
This snippet implements [drop caps](https://en.wikipedia.org/wiki/Initial) in Obsidian. It works by assigning a specific font to a characted who has been given the 'dcaps' css class:
@@ -29,3 +31,17 @@ Images have rounded corners, nice hover effect, shadows and they can be aligned.
2931
```
3032

3133
![images](media/images.gif)
34+
35+
### Article
36+
37+
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 and centers the headings.
38+
39+
Syntax:
40+
41+
```yaml
42+
---
43+
cssclass: article
44+
---
45+
```
46+
47+
![article](media/article.png)

0 commit comments

Comments
 (0)