Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
gitbook-plugin-wikify
Advanced tools
This package comes in two parts: a command-line tool to:
SUMMARY.md
with an index of all pagesand a GitBook plugin to:
Add "wikify"
to the list of plugins in your book.json
:
{
"plugins": ["wikify"],
"pluginsConfig": {
"wikify": {
"lintOutput": "path/to/output.xml"
}
}
}
Then run gitbook install
.
Building your book now requires two steps:
node_modules/.bin/gitbook-autoindex
gitbook build
You may want to add files that are automatically generated by the autoindexer to
.gitignore
; in which case, they should be un-ignored in .bookignore
so that
they're properly included in the book:
$ cat .gitignore
_index.md
SUMMARY.md
$ cat .bookignore
!_index.md
!SUMMARY.md
The automatically generated index page is pretty bare-bones. If you want to use
your own index, create an index.md
file under the directory and it will be
copied as-is.
Any link to a directory will be rewritten as a link to <dir>/_index.md
.
Breadcrumbs will have this HTML structure:
<nav class="wikify-breadcrumbs">
<a class="wikify-breadcrumbs-link" href="../">Top</a>
<span class="wikify-breadcrumbs-sep"> > </span>
<a class="wikify-breadcrumbs-link" href="_index.html">network</a>
<span class="wikify-breadcrumbs-sep"> > </span>
<span class="wikify-breadcrumbs-static">router.md</span>
</nav>
Broken links are reported in GitBook build's console output in TAP format.
ok links ok in copy.md
ok links ok in retro.md
not ok link broken in README.md -> errors.md, benchmark.org, tooling.md
Orphaned pages are reported in the lintOutput
file, if specified, in jslint's XML format.
<?xml version="1.0" encoding="utf-8"?>
<jslint>
<file name="learning.md">
<issue line="1" char="1" evidence="learning.md" reason="weak discoverability: no page links to this page" />
</file>
</jslint>
FAQs
GitBook plugin that makes your book wiki-like
The npm package gitbook-plugin-wikify receives a total of 0 weekly downloads. As such, gitbook-plugin-wikify popularity was classified as not popular.
We found that gitbook-plugin-wikify 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.