
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
acetate-kss
Advanced tools
Acetate-KSS parses a folder of sass files with KSS-formatted documentation and makes that data available as data in Acetate.
It also includes a simple Nunjucks Template for displaying KSS documentation in your Acetate site.
To install, simply add acetate-kss
to the package.json
of an existing press site:
npm install --save-dev acetate-kss
Using Acetate-KSS is as simple as adding a couple lines to acetate.conf.js
. An example conf file could look something like:
// Load press kss to add data to your site
var acetateKSS = require('acetate-kss');
// Load the styleguide to get the Nunjucks template
var styleguide = require('acetate-kss/styleguide');
function config(acetate) {
acetate.global('config', {
environment: 'dev',
});
acetate.layout('**/*', 'layouts/_layout:content');
acetate.options.src = 'docs/source';
acetate.options.dest = 'docs/build';
// Tell Acetate to use the KSS extension
acetate.use(acetateKSS({
// point the extension to your sass folder
sassDir: 'sass/',
markdown: true
}));
// Tell Acetate to load the Nunjucks helper
acetate.use(styleguide({
// use a custom template for styleguide block (optional)
template: 'partials/_styleguide_block.html'
}));
}
module.exports = config;
Then, in whatever page you need the kss data, just add it to the frontmatter:
data:
- kss
And in your page, render a block of documentation by calling the Nunjucks helper:
{% styleguide kss.section('1.1') %}
<h1 class="$modifier_class">Hey man</h1>
{% endstyleguide %}
FAQs
Parse KSS formatted sass documentation and add it to Acetate
The npm package acetate-kss receives a total of 0 weekly downloads. As such, acetate-kss popularity was classified as not popular.
We found that acetate-kss 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
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.