
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
joplin-plugin-import-local-css
Advanced tools
This is a [Joplin](https://joplinapp.org) plugin intended to address [this issue](https://discourse.joplinapp.org/t/local-imported-css-no-longer-accessible/41812).
@import
sThis is a Joplin plugin intended to address this issue.
At present, it works by finding @import
s in <style>
blocks, then manually fetching and inserting the corresponding CSS file.
<style>
/* Import CSS from a file: */
@import "/tmp/test.css";
/* Import CSS from a note: */
@import ":/50775d77690042ad92fdc7478b539afa";
</style>
This is a note
Above, the @import ":/50775d77690042ad92fdc7478b539afa"
imports CSS from a note with ID 50775d77690042ad92fdc7478b539afa
. The note should contain a single css
code block contianing the CSS to be imported. For example,
Optionally, a comment can be included on the lines before the CSS block.
```css
/* CSS here! */
```
Currently, this plugin:
@import
s in <style>
blocks using regular expressions.
@import
s. In the future, it may make sense to use a library like csstree to parse CSS and extract the imports.@import
statements from their parent style blocks.<style>
element.@import
statements (before replacement).FAQs
This is a [Joplin](https://joplinapp.org) plugin intended to address [this issue](https://discourse.joplinapp.org/t/local-imported-css-no-longer-accessible/41812).
The npm package joplin-plugin-import-local-css receives a total of 717 weekly downloads. As such, joplin-plugin-import-local-css popularity was classified as not popular.
We found that joplin-plugin-import-local-css demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.