Skip to content

Commit

Permalink
release: 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaUshio committed Dec 21, 2023
1 parent 2ee5eaf commit c402124
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ It isn't meant to replace them, but instead, it aims to add some quality-of-life

Each feature can be toggled on and off in the plugin settings.

### Backlinks to PDF files

- **Highlight backlinks**: In the PDF viewer, any referenced text will be highlighted for easy identification. Additionally, when you hover over the highlighted text, a popover will appear, displaying the corresponding backlink.

This feature enriches Obsidian as a stand-alone PDf annotation tool. I recommend the core [Backlinks](https://help.obsidian.md/Plugins/Backlinks) plugin & the [Better Search View](https://github.com/ivan-lednev/better-search-views) plugin together with this plugin.

### Opening links to PDF files

- **Open PDF links cleverly**: When opening a link to a PDF file, a new tab will not be opened if the file is already opened. Useful for annotating PDFs using "Copy link to selection."
Expand Down Expand Up @@ -40,6 +46,11 @@ But you can install the latest release using [BRAT](https://github.com/TfTHacker
3. Open the following URL in browser: `obsidian://brat?plugin=RyotaUshio/obsidian-pdf-plus`.
4. Click the "Add Plugin" button.

## Development principles

- Always stick around Obsidian's built-in PDF viewer.
- Never introduce plugin-dependent stuff.

## Support development

If you find my plugins useful, please support my work by buying me a coffee!
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pdf-plus",
"name": "PDF++",
"version": "0.5.0",
"version": "0.5.1",
"minAppVersion": "1.3.5",
"description": "Enhance PDF viewer & embeds.",
"author": "Ryota Ushio",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-pdf-plus",
"version": "0.5.0",
"version": "0.5.1",
"description": "An Obsidian.md plugin to enhance PDF viewer & embeds.",
"scripts": {
"dev": "node esbuild.config.mjs",
Expand Down
4 changes: 2 additions & 2 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ export class PDFPlusSettingTab extends PluginSettingTab {

this.addDesc('Note: some of the settings below requires reopening tabs to take effect.')

this.addHeading('Backlinks');
this.addHeading('Backlinks to PDF files');
this.addToggleSetting('highlightBacklinks')
.setName('Highlight backlinks')
.setDesc('Each piece of text that is referenced elsewhere will be highlighted in the PDF viewer. Moreover, hovering over the highlighted text will show the backlink as a popover.');
.setDesc('In the PDF viewer, any referenced text will be highlighted for easy identification. Additionally, when you hover over the highlighted text, a popover will appear, displaying the corresponding backlink.');

this.addHeading('Opening links to PDF files');
this.addToggleSetting('openLinkCleverly', () => this.display())
Expand Down

0 comments on commit c402124

Please sign in to comment.