npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

joplin-plugin-paragraph-extractor

v1.1.5

Published

Plugin to extract and combine paragraph blocks from any selected notes to a single new note based on a keyword, hashtag or custom tag contained within the paragraph. This is similar to block functionality in other note taking systems like Logseq.

Downloads

15

Readme

Joplin Extract Paragraphs

Plugin to extract and combine paragraph blocks from any selected notes to a single new note based on a keyword, hashtag or custom tag contained within the paragraph. This is similar to block functionality in other note taking systems like Logseq.

Typical useage is to identify paragraphs with added hashtags (e.g., #mytag). Then, any paragraph with that tag in multiple notes can be copied and added to a single new note. However, keywords do not have to be hashtags and can just be a simple search word to identify and extract the paragraph.

Example screenshots can be found here: https://discourse.joplinapp.org/t/plugin-extract-paragraphs/35831

Bullet and sub-bullet lists are treated as single paragraphs in Joplin. Settings will allow for extracting single bullets (along with their sub-bullets) that contain the keyword rather than all the bullets in the paragraph.

The full note can be extracted if the hashtagged keyword is by iteself in the last paragraph. This is useful if you do not wish to add the same hashtag to every paragraph if the entire note is useful.

Any Joplin tags in the source notes will be combined as Joplin tags in the extracted note. Selected notes are not changed at all.

Installation

Automatic

  • Go to Tools > Options > Plugins
  • Search for Paragraph Extractor
  • Click Install plugin
  • Restart Joplin to enable the plugin

Manual

  • Download the latest released JPL package (io.github.djsudduth.paragraph-extractor.jpl) from here
  • Close Joplin
  • Copy the downloaded JPL package in your profile plugins folder
  • Start Joplin

Usage

  • Select multiple notes to extract sections based on keyword into a single note
  • Click on Tools > Extract paragraphs from notes or use the command Extract paragraphs from notes from the context menu

Options

Go to Tools > Options > Paragraph Extractor

  • Preserve source note titles with backlinks: Titles of source notes will be embedded at the top in new note with links back to the original source notes. Default true.
  • Embed source note titles at end of each extracted paragraph: Titles of source notes will be embedded at the end of each extracted paragraph rather than at the top with a link back to the original source notes. Default false.
  • Extract content at the bulleted list item level: Bullets will be extracted at the top bullet level (including sub-bullets) vs all bullets within a paragraph. Default false
  • Ignore the keyword case: Any case for the keyword or hashtag keyword will be used for extraction. Default false
  • Include the header of the section extracted: Any H1-H6 header will be included with the extracted paragraph or bullet (this is ignored for keywords embedded within the header which are always extracted). Default false
  • Default or Last Used Tag Prefix character: Either the common hashtag # character (preferred) or $, %. Default #
  • Default or Last Used Paragraph Tag or Keyword: The entered keyword to search in notes to extract the paragraph. If the prefix hashtag field is set, then the tag is added to the keyword for finding paragraph blocks.
  • Remove extracted paragraph keyword and add end tag: Any tagged/hashtagged keyword will be removed from the paragraph and an endtag will be added in the new extraction note. Removal assumes the keyword has a hashtag prefix character - otherwise the setting is ignored. The end tag is always appended when this is selected. Default false
  • Title of the combined note: New title of the combined note. Default Extracted paragraphs.
  • Custom note title: New note title with possible variables {{FIRSTTITLE}}, {{LASTTITLE}}, {{ALLTITLE}} and {{DATE}}.

Keyboard Shortcuts

Under Options > Keyboard Shortcuts you can assign a keyboard shortcut for the following commands:

  • Extract paragraphs from notes

Build

See BUILD

Changelog

See Changelog

Thanks

Special thanks to Jack Gruber for the inspiration and excellent code to help bootstrap this plugin!