Skip to content

Commit

Permalink
release: 0.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaUshio committed Dec 25, 2023
1 parent b021f08 commit e61dfe3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
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.10.3",
"version": "0.10.4",
"minAppVersion": "1.4.16",
"description": "Transform backlinks to PDF files into highlighted annotations, establishing Obsidian as a stand-alone PDF annotation tool. It also adds quality-of-life improvements to Obsidian's built-in PDF viewer and PDF 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.10.3",
"version": "0.10.4",
"description": "An Obsidian.md plugin to transform backlinks to PDF files into highlighted annotations, establishing Obsidian as a stand-alone PDF annotation tool. It also adds quality-of-life improvements to Obsidian's built-in PDF viewer and PDF embeds.",
"scripts": {
"dev": "node esbuild.config.mjs",
Expand Down
30 changes: 14 additions & 16 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,29 @@
name: PDF++
id: pdf-plus
settings:
-
id: pdf-plus-highlight-padding
title: Highlight padding (px)
description: Boldness of highlights
type: variable-number-slider
min: 0
max: 20
step: 0.1
default: 4
format: px
-
id: hide-pdf-embed-toolbar
title: Hide toolbar in PDF embeds with a page specified
type: class-toggle
default: true
-
id: pdf-embed-width
title: PDF embed width
type: variable-number-slider
min: 10
max: 200
step: 1
default: 100
*/

.hide-pdf-embed-toolbar .pdf-embed[src*="#"] .pdf-toolbar {
display: none;
.textLayer .mod-focused.pdf-plus-backlink {
padding: var(--pdf-plus-highlight-padding, var(--size-4-1));
}

.markdown-preview-view .pdf-embed,
.markdown-source-view.mod-cm6 .cm-content .pdf-embed {
margin-left: auto !important;
margin-right: auto !important;
width: calc(var(--pdf-embed-width) / 100 * 100%) !important;
.hide-pdf-embed-toolbar .pdf-embed[src*="#"] .pdf-toolbar {
display: none;
}

/* When hovering over a highlighted text in PDF viewer, highlight the corresponding item in backlink pane */
Expand All @@ -50,7 +49,6 @@ settings:
.pdf-plus-color-palette {
display: flex;
flex-direction: row;
/* flex-wrap: wrap; */
justify-content: center;
align-items: center;

Expand Down

0 comments on commit e61dfe3

Please sign in to comment.