
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
joplin-plugin-import-local-css
Advanced tools
This is a proof-of-concept plugin intended to address [this issue](https://discourse.joplinapp.org/t/local-imported-css-no-longer-accessible/41812).
@import
sThis is a proof-of-concept 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
s in multi-line comments are still imported.@import
statements (before replacement).FAQs
This is a proof-of-concept plugin intended to address [this issue](https://discourse.joplinapp.org/t/local-imported-css-no-longer-accessible/41812).
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 0 open source maintainers 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.