Note extractor

I see. Perhaps I’m thinking about the title being associated to the note because 1) emending displays the title currently 2) it requires mental processing to properly title it and you may not know what to call it

Perhaps the text is pasted in the note as a header and it’s a header embed? This would display just the text you copied.

I like the idea. Personally I’d definitely want an option to have UIDs automatically be generated in the title to help keep the notes unique & baked context/info in it regardless of what I name it.

If Obsidian could have a toggle to filter out the UIDs in the file explorer it could keep things legible.

That’s what the existing ZK UID plugin does, isn’t it? I don’t use it but I think it’s the same idea- put an id in the title of every note to guarantee uniqueness

Currently it’s manual, when you press the button it just makes (and opens) a blank note with a ZK UID as the title. If I could have an option to have all new notes automatically have a UID be added (to the begging or after “my text”) that’d solve it.


I already do this by paragraph, not necessarily line thought, that seems a bit excessive. ( :sweat_smile: those are all lines, lol. I swear I have paragraphs too!)

An example of another program that does this is TiddlyWiki.

Those top 3 embeds on the page on the right all look like paragraph embeds without a header. What’s your method for that?

.markdown-embed h3, .markdown-embed h2, .markdown-embed h1 {
display:none !important;

If I want a title to display in my embed, then i just use h4

I can see this feature being very useful for myself, although I think I would want a couple of variations of this; one where the selected text is just replaced with a link to the new note and one where the selected text remains in the original note AND a new note is created with the selected text (perhaps with the option of including a link).

As also mentioned it would be useful to be able to show where the selected text came from if this was desired.

1 Like

For me the typical workflow is, that I add consecutively informations to a topic in a md. File and organize them there.
When the file gets to big, or a subtopic stands out, I create for it its own file with an link pointing to it.
In this way the notes grow organically and new notes are created when necessary.

To make this workflow even faster, the plug-in would convert the selected section (beginning with a heading and the hierarchy being conserved) to its own md. And creates a link pointing to the file at the place of the previous heading.


oh, man, your first-time explanation makes me confused, in fact, you want make selected words a new file that you will name, and use the “quote” like “![[” to keep the contents of the original document unchanged in order to “quote” the selected words easier?

The thought is good , I think. may be useful.


Thanks to user @randulfr for providing a way to do this with Obsidian right now via Keyboard Maestro (macOS only):

Windows users can try this autohotkey script :

it requires autohotkey ANSI or now. description in the link & here :Block reference


A plugin is now available for this with Obsidian v0.9.7 (currently insider’s build).

I have include a couple of commands for different note extraction behaviours and a setting to include a heading in the new note.

I could also add a config setting for automatic ZK UID generation for new note file names if that would be useful.


@J_L: I have installed your plug-in, refreshed Obs, but it only works halfway. The new note is created but the content is not transferred, even though the content is taken away from the source note.

@Klaas Is that using the command for the first line as the file name or the content only option with the modal to enter the file name?

Could you post a copy of some example content I can try and replicate the issue with?

Thanks for this very useful plugin @J_L! It automates a process I do very often and makes it a breeze.

I already have another feature request. :blush: Make it possible to refactor content out to an existing note, i.e. append selected text to an existing note.

To me, the ideal UX for this would replace your existing filename modal with something that emulates Obsidian’s “Open quick switcher” command: as you type a filename the vault is auto-searched for existing files to choose from, or press enter to create a new file. But whatever is easiest / makes better sense, I support.

I’ve been using it for a week and it works great. Thank you very much!

1 Like