Skip to content

Commit f8a638d

Browse files
committed
version 1.2.0
1 parent 008ee1b commit f8a638d

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ You can update the formatting of highlights sent to Obsidian in this plugin's co
88

99
If you don't want your first time sending new highlights to Obsidian to send all highlights, update the last send time in the config.
1010

11+
In the formatting config menu, the 'title' is the title of the note that a highlight will be sent to. The 'body' is the text that will be sent to that note for each highlight. The 'header' will be sent to each note exactly once when you send highlights.
12+
1113
Sometimes, if you send highlights while your obsidian vault is closed, not all highlights will be sent. If this happens, you can use the "Resend Previously Sent Highlights" function.
1214

1315
You can set keyboard shortcuts in Preferences -> Shortcuts -> H2O. Some available keyboard shortcuts include CTRL+S, CTRL+E, CTRL+G, CTRL+H, CTRL+J, and CTRL+K.
@@ -31,6 +33,8 @@ Available formatting options are as follows:
3133
- {month}: Month the highlight was made, as in 4 for April or 10 for October
3234
- {year}: Full year the highlight was made, as in 2022
3335
- {localday}, {localmonth}, {localyear}
36+
- {utcnow}: current UTC time, formatted same as {datetime}.
37+
- {localnow}
3438
- {url}: A [calibre:// url](https://manual.calibre-ebook.com/url_scheme.html) to open the ebook viewer to this highlight. Note that this may not work if your library's name contains unsafe URL characters. Numbers, letters, spaces, underscores, and hyphens are all safe.
3539
- {location}: The highlight's EPUB CFI location in the book. For example, "/2/8/6/5:192". As a sort key, this will order highlights by their position in the book.
3640
- {timestamp}: The highlight's Unix timestamp. This is the default sort key used to determine what order to send highlights in.
@@ -41,6 +45,6 @@ For an example of how to use these, see the default format settings in the plugi
4145

4246
---
4347

44-
Formatting options based on the [Obsidian Clipper](https://github.com/jplattel/obsidian-clipper) Chrome extension.
48+
Formatting options are based on the [Obsidian Clipper](https://github.com/jplattel/obsidian-clipper) Chrome extension.
4549

4650
h2o-index.txt is for the [plugin index page](https://www.mobileread.com/forums/showthread.php?t=118764) on the Calibre forum.

h2o/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class HighlightsToObsidianPlugin(InterfaceActionBase):
99
description = 'Automatically send highlights from calibre to obsidian.md'
1010
supported_platforms = ['windows', 'osx', 'linux'] # only tested on windows
1111
author = 'jm289765'
12-
version = (1, 1, 1)
12+
version = (1, 2, 0)
1313
actual_plugin = 'calibre_plugins.highlights_to_obsidian.menu_button:MenuButton'
1414
minimum_calibre_version = (6, 10, 0) # this plugin probably works on earlier versions, i haven't tested
1515

-786 Bytes
Binary file not shown.
28 KB
Binary file not shown.

0 commit comments

Comments
 (0)