
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.
A hexo plugin that uses MathJax to render math equations. Features:
(See a Chinese version of this document here)
npm install hexo-math --save
$ hexo math install
_config.yml
:plugins:
- hexo-math
You can use MathJax's inline math syntax directly. But always remember to escape any special characters by adding a \
before it.
LaTex equations usually contains tones of special characters like \
, which makes it painful to escape them one by one. In such cases, you can use hexo-math's tags to make your life easier.
MathJax Inline:
Simple inline $a = b + c$.
MathJax Block:
$$\frac{\partial u}{\partial t}
= h^2 \left( \frac{\partial^2 u}{\partial x^2} +
\frac{\partial^2 u}{\partial y^2} +
\frac{\partial^2 u}{\partial z^2}\right)$$
Tag inline:
This equation {% math \cos 2\theta = \cos^2 \theta - \sin^2 \theta = 2 \cos^2 \theta - 1 %} is inline.
Tag Block:
{% math-block %}
\begin{aligned}
\dot{x} & = \sigma(y-x) \\
\dot{y} & = \rho x - y - xz \\
\dot{z} & = -\beta z + xy
\end{aligned}
{% endmath-block %}
FAQs
Add KaTeX and MathJax support to Hexo
The npm package hexo-math receives a total of 429 weekly downloads. As such, hexo-math popularity was classified as not popular.
We found that hexo-math demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.