Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
gitbook-plugin-mathjax-new-cdn
Advanced tools
This plugin uses MathJax to display Math/TeX formula. This is an official plugin. Versions >=0.1.0
require GitBook >=2.0.0
.
Add it to your book.json
configuration:
{
"plugins": ["mathjax"]
}
Install your plugins using:
$ gitbook install ./
You can now add TeX formula to your book using the {% math %}
block:
When {% math %}a \ne 0{% endmath %}, there are two solutions to {% math %}(ax^2 + bx + c = 0){% endmath %} and they are {% math %}x = {-b \pm \sqrt{b^2-4ac} \over 2a}.{% endmath %}
You can also use the shortcut $$
:
When $$a \ne 0$$, there are two solutions to $$(ax^2 + bx + c = 0)$$ and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
You can force the use of svg pre-processed by adding to your book.json:
{
"pluginsConfig": {
"mathjax":{
"forceSVG": true
}
}
}
FAQs
Insert math and LaTeX equations in your pages.
The npm package gitbook-plugin-mathjax-new-cdn receives a total of 2 weekly downloads. As such, gitbook-plugin-mathjax-new-cdn popularity was classified as not popular.
We found that gitbook-plugin-mathjax-new-cdn 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.