Hey @Liong1976! Great questions, thank you.

  1. Creating highlights: To highlight sentences in your PDF, you still have to use your regular PDF application. My plugin does not have that feature.
  2. Extracting highlights: Once you’ve dragged your highlighted PDF into Obsidian, open it in Obsidian and click the PDF icon in the left side-bar.

The icon looks like this:

Screenshot 2021-02-18 at 11.59.48

Hope this helps!

Hey @mickey,

Good catch, I’d have to look at the actual output. I saw you already submitted two issues on Github – Awesome. Please add any example files for both issues. Thanks!

Hey @akaalias,

thanks for the quick reply! Someone else must have encountered the same issue and submitted it on Github - it wasn’t me. :smiley: I don’t have a Github account (yet), but I’ll post two exemplary screenshots of the input pdf with highlights and the output on here, maybe this will help.

Screen Shot 2021-02-18 at 13.17.06

It works like a charm!

Thanks a lot, akaalias.

1 Like

Oh funny! That’s not you on Github?! :joy:

If possible, can you share the PDF you’re showing?

Glad to hear, thanks!

Hey there! Quick update on today’s release:

New Feature

Create Contextual Quotes in “Note Explode Mode”

Based on @ngirard’s ideas Allow to copy the full paragraph containing the highlight when extracting it · Issue #6 · akaalias/extract-highlights-plugin · GitHub :tada:

An optional new setting that will retain the full line of a highlight for the quote in the exploded notes.

How this works:

Note the one highlight in line 3:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, ==quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat==. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Resulting note (“quis nostrud exercitation ullamco laboris nisi ut aliquip…md”)

Check out the quote under “Source”: It’s the full line with the highlight embedded giving context for your transcription etc.

## Source
> Ut enim ad minim veniam, ==quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat==. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.[^1]

[^1]: [[Origin Note]]

Refactors

  • This release removes all the unnecessary console.log() statements.
2 Likes

Hey !
I have encountered the exact same issue. I’m reading many academic papers atm which are structured in two columns and I was looking into highlight extractions. The plugin works perfectly for single columns documents but not so well for two columns ones. @akaalias have you had any chance to look into it ? I’d be willing to share some example PDfs with you if that can help. I’m pretty new to obsidian so I could be a mistake on my part but I doubt it.
Anyways thanks a lot for the plugin. It looks like it could fit my use-case perfectly (if we can resolve this issue).
Have a good one.

Hello,

New Obsidian user and not sure if I’m missing something. With nothing selected, using the highlight hotkey merely inserts ====, the same as it does with the plugin off. Mac version 0.11.3.

@akaalias Firstly, thank you for your amazing work.

I have (had) a problem with … well, I don’t know with what, it is such a jumble to figure out if it is Obsidian, or your extract plugin. In any case, the toggle feature would not work. I tried uninstalling/reinstalling to no avail. Finally your ALT + SHFT+ H suggestion did the trick. Works like a charm. And it no longer uses three === but only two == now to highlight the text. Why this happens/happened will probably be a mystery shrouded by time. :wink: But for the moment I’m a happy camper.

I wonder if you really appreciate how useful this plugin is to those of us trying to use Obsidian? Many plugins are fun and interesting and provide value, but this is an amazingly useful thing. It really ought to be incorporated into the core product. If you think about it, if Obsidian is meant to be a tool for Zettlekasten workflow, then this function is ESSENTIAL. It is amazing that it is not already in the basic product.

Now if only someone would fix the automatic title creation for a Zettlekasten note to distinguish between “literature” notes, “fleeting notes”, and “permanent notes”. Wouldn’t that be the cat’s meow? :wink:

Someday, in your copious free time :wink: you might have a look at unscrambling Zotero. I mean, that thing is a hot mess! You need a basket full of plugins to fix its eccentricities.

Thanks again for your tireless work.

3 Likes

You need to go through the document and highlight selected text. Then, when you are done, use the extract highlights function (under the command palette) to copy all highlights to your clipboard).

I’ve just discovered this plugin and I think it will be a great help to me. Thank you.

1 Like

Hi, first of all, I really like this plugin, probably my favorite of all. Thanks for the effort.

When highlighting text, I much prefer using instead of ==…===, that’s why I would like to keep the “Use bold for highlights” option enabled all the time, but I found that it automatically disable itself every time I exit Obsidian, which means if I want to extract the bold highlights, I need to go to settings and enable it every time, which can be a bit annoying.

I hope this can be fixed in future iteration, thanks again.

1 Like

Thanks for a great tool! Is it possible to extract highlights from all files in a folder or indeed from all files? Appreciate any help.

1 Like

Hi Alexis, Hope you’re well and thanks for the Wonderfull soft you’re delivering. I used in March the “extra pdf highlights” and it worked well, but now it’s not working . Please can you help me ? certainly I am doing something wrong… Thanks in advance for your help. Cheers, Paul

Hi there. Great plug in!

I’m using it to make a quick summary of large chunks of text, but i didn’t find the possibility to include the title of the paragraph (not of the entire note) above the highlighted text, even if isn’t highlighted.

Example

Paragraph 1

Bla bla ==bla==

Paragraph 2

text =text= text

Outcome:

Paragraph 1

  • bla

Paragraph 2

  • text

I didn’t find any way to do this in the options, but i think is an essential option to preserve the structure of your note.

Hello! I love your plug-in for Obsidian. I use it as an easy way to grab text and summarize my highlights. I wanted to know if “extract highlights” could add to a “highlights” file as I continue to work through a document that is too large for me to read in one sitting.

My process: I read some text in a file. I highlighted sections of text. I extracted higlights. A new document with my highlights was created. I went back to the original file and highlighted some more. I extracted highlights. Nothing happened. The new highlights weren’t weren’t dropped into the highlights file. However, I discovered that I could delete the highlights file and then the extract process would be successful and create a new highlights file. BUT I don’t want to do that because I like to make my own comments on the highlights file.

Example of the Feature that Interests Me

You might find the functionality you want with the Note refactor plugin. It does many things, but one of them would be to copy text selections into another note. It could be a new note that you copy to, or an existing one.

If you have Alfred, you can use a workflow to wrap the selected text in <mark></mark> with a hotkey.

It would be great if we had more control of the output. I’d like to not have the pulled highlights as a series of bulleted items, but just text with newlines.