
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
joplin-plugin-calibre-import
Advanced tools
This is a Joplin plugin.
There are two plugins in this package.
The first one is the Calibre Import plugin. It is able to import a Calibre Library database into Joplin.
The second one is the Attributes Content plugin. It intercepts the Markdown-it token stream and detects embedded Attribute definitions. Those are used to equip the next HTML element with attributes. This second plugin is used by the first one to implement a Html to Markdown translation.
After the installation you can import Calibre Library metadata into Joplin. The imported data include the title, the authors, the cover (if one exists), links to the existent book formats, the comments section and an additional content section (custom field).
The data are imported into the selected Joplin sub folder, taking into account the book genres, a hierarchical arranged custom field.
All working can be controlled by a set of settings in the Calibre Import settings page, the most of which can be used as is for first trials.
To import the data of a library, follow these steps:
A list of configuration settings follows (incomplete):
The images are partly in German.
The following is a generated Genre tree.
It follows a generated Note, one version with Spoilers collapsed, the other version with expanded Spoilers.
Spoilers expanded:
Primarily this content plug-in is to be used by the Calibre Import. The import translates Html into MD for consistency reasons. The Html can contain lists with attributes. That's why sometimes attributes are required to give a compatible view.
You can equip the following MD constructs with attributes:
Lists (level 1 and embedded lists, ordered and unordered and task lists)
Paragraphs
Block quotes
Headings
Tables
Horizontal Rulers
Code Fences. The surrounding <span>
tag is equipped with attributes.
Images and Links. The surrounding <p>
tag (paragraph) is equipped with attributes.
To equip a link with styles, you can, for instance, use the following construct:
///attributes:id=link
[Web](https://google.com)
...
#link a { background-color: yellow; }
What can be done:
The following MD suppresses bullets in the succeeding list, then a list with start number 10 follows:
///attributes:style=list-style-type:none
1. Item 1
2. Item 2
///attributes:start=10
1. Item 1
2. Item 2
This gives us the following view:
The scope of the attributes content plug-in was extended by (see above):
///attributes:<attributes definitions>::<cell content>
Additionally Calibre custom columns are supported. Up to 10 custom columns can be configured in the Settings. They are taken from an existing Calibre library. Without such an existing Calibre library (to be configured) the extra functionality is not available.
The scope of the attributes content plug-in was extended by (see above):
FAQs
This is a Joplin plugin.
We found that joplin-plugin-calibre-import demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.