Skip to content

An Obsidian plugin that makes it easy to hide PDF previews within notes.

License

Notifications You must be signed in to change notification settings

pixitha/pdf-collapse

Repository files navigation

GitHub Actions codebeat badge Buy me a coffee

Collapse PDF Plugin

As a pervious Evernote user, I really liked being able to hide the PDF preview within a note with a simple setting. This is my first attempt at a plugin, so its going to be rough.

While there are multiple ways to do this manually in Obsidian, I wanted something more elegant. Here are some ways you can accomplish this that I know of:

  • Remove the ! in front of the URL for the object, it will link to the PDF, but won't load preview. This would require editing a lot of notes.
  • You can change the height of the preview (useful!), but also requires me editing a bunch of notes, or maybe changing the code/css to use a smaller size by default?
  • This plugin with a toggle setting to show or hide them for either editing view or reading view.

Settings:

Only a couple of settings so far:

  • Toggle for showing or hiding previews for PDFs in reading mode.
  • Toggle for showing or hiding previews for PDFs in editing mode.
  • ...

About

An Obsidian plugin that makes it easy to hide PDF previews within notes.

Topics

Resources

License

Stars

Watchers

Forks