diff --git a/content/.obsidian/types.json b/content/.obsidian/types.json index f7e6513..5c67a70 100644 --- a/content/.obsidian/types.json +++ b/content/.obsidian/types.json @@ -3,6 +3,6 @@ "aliases": "aliases", "cssclasses": "multitext", "tags": "tags", - "date": "date" + "date": "text" } } \ No newline at end of file diff --git a/content/.obsidian/workspace.json b/content/.obsidian/workspace.json index eea781b..d11b2a8 100644 --- a/content/.obsidian/workspace.json +++ b/content/.obsidian/workspace.json @@ -11,22 +11,15 @@ "id": "3b2cd9884e9de93b", "type": "leaf", "state": { - "type": "empty", - "state": {} - } - }, - { - "id": "f1067e4ded36bae9", - "type": "leaf", - "state": { - "type": "release-notes", + "type": "markdown", "state": { - "currentVersion": "1.4.12" + "file": "tils/pdf_obsidian_at_page.md", + "mode": "source", + "source": false } } } - ], - "currentTab": 1 + ] } ], "direction": "vertical" @@ -55,7 +48,7 @@ "state": { "type": "search", "state": { - "query": "", + "query": "images", "matchingCase": false, "explainSearch": false, "collapseAll": false, @@ -72,7 +65,8 @@ "state": {} } } - ] + ], + "currentTab": 1 } ], "direction": "horizontal", @@ -92,6 +86,7 @@ "state": { "type": "backlink", "state": { + "file": "tils/pdf_obsidian_at_page.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -108,6 +103,7 @@ "state": { "type": "outgoing-link", "state": { + "file": "tils/pdf_obsidian_at_page.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -129,7 +125,9 @@ "type": "leaf", "state": { "type": "outline", - "state": {} + "state": { + "file": "tils/pdf_obsidian_at_page.md" + } } }, { @@ -147,7 +145,9 @@ "type": "leaf", "state": { "type": "file-properties", - "state": {} + "state": { + "file": "tils/pdf_obsidian_at_page.md" + } } } ], @@ -167,12 +167,14 @@ "command-palette:Open command palette": false } }, - "active": "f1067e4ded36bae9", + "active": "8ca86ec79a0654db", "lastOpenFiles": [ + "images/til-pdf-page.png", + "images/Pasted image 20230920175204.png", "tils/asdf_direnv.md", - "tils/Untitled.md", - "tils/tils.json", + "tils/pdf_obsidian_at_page.md", "tils/struct_pattern_matching.md", + "tils/tils.json", "til.md", "index.md", "tils/til.json", diff --git a/content/images/til-pdf-page.png b/content/images/til-pdf-page.png new file mode 100644 index 0000000..84f84c9 Binary files /dev/null and b/content/images/til-pdf-page.png differ diff --git a/content/tils/pdf_obsidian_at_page.md b/content/tils/pdf_obsidian_at_page.md new file mode 100644 index 0000000..12a9a3b --- /dev/null +++ b/content/tils/pdf_obsidian_at_page.md @@ -0,0 +1,17 @@ +--- +date: Created +title: embed PDF in Obsidian at specific page +--- +[Obsidian](https://obsidian.md/) is a powerful note taking tool and is how I write content for this very blog. It's a great way to organize your life, but did you know not only can you embed images, but PDF's and even specify which page they should preview at? + +It's quite simple! In your file path, append a `#page=number_here` and Obsidian's PDF preview will jump to that page. + +```md +![[documents/my_file.pdf#page=55]] +``` + +![Obsidian preview screenshot showing an embedded PDF viewer loading at a specific page of a PDF](/images/til-pdf-page.png) + +--- + +Want to take it a step further? [Annotate your PDF's with obsidian-annotator](https://github.com/elias-sundqvist/obsidian-annotator). \ No newline at end of file