Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
markdown-it-mathjax
Advanced tools
Readme
Markdown-it plugin to bypass LaTeX math for mathjax processing.
Processes TeX displayed math
$$1 *2* 3$$
=> \[1 *2* 3\]
Processes TeX in-line math
$1 *2* 3$
=> \(1 *2* 3\)
Skips in-line math if numbers are around (according to pandoc math)
$1 *2* 3$5
=> $1 <em>2</em> 3$5
Also processes LaTeX delimiters (double backslashed)
\\(1 *2* 3\\)
=> \(1 *2* 3\)
\\[1 *2* 3\\]
=> \[1 *2* 3\]
And sections
\begin{abc}1 *2* 3\end{abc}
=> \begin{abc}1 *2* 3\end{abc}
npm install markdown-it-mathjax --save
var md = require('markdown-it')()
.use(require('markdown-it-mathjax')());
md.render('$1 *2* 3$') // => '<p>\(1 *2* 3\)</p>'
Differences in browser. If you load script directly into the page, without
package system, module will add itself globally as window.markdownitMathjax
.
FAQs
[![Build Status](https://img.shields.io/travis/classeur/markdown-it-mathjax/master.svg?style=flat)](https://travis-ci.org/classeur/markdown-it-mathjax) [![NPM version](https://img.shields.io/npm/v/markdown-it-mathjax.svg?style=flat)](https://www.npmjs.org
We found that markdown-it-mathjax 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).