
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
gitbook-plugin-components-2
Advanced tools
For Gitbook projects: Add html templates to the target selector of your choice. Useful for headers and footers.
Adds the ability to use 'components' (basically, html templates).
Add 'components' to the book.json plugins array:
{
"plugins": ["components"],
}
Then make sure to run install after adding the plugin:
gitbook install
...and then:
gitbook serve
You can see an example config options below for book.json.
This will look for docs/components/header.html and prepend it to body.
Then it will look for docs/components/footer.html and append it to .book.
{
"pluginsConfig": {
"components": {
"templatePath": "docs/components",
"templates": [
{
"name": "header",
"target": "body",
"prepend": "true"
},
{
"name": "footer",
"target": ".book",
"prepend": "false"
}
]
}
}
}
Default values for templatePath is docs/components and default for prepend is true.
FAQs
For Gitbook projects: Add html templates to the target selector of your choice. Useful for headers and footers.
The npm package gitbook-plugin-components-2 receives a total of 1 weekly downloads. As such, gitbook-plugin-components-2 popularity was classified as not popular.
We found that gitbook-plugin-components-2 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
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.