
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
sanity-plugin-latex-input
Advanced tools
> **NOTE** > > This is the **Sanity Studio v2 version** of sanity-plugin-latex-input. > > For the v3 version, please refer to the [v3-branch](https://github.com/sanity-io/sanity-plugin-latex-input).
NOTE
This is the Sanity Studio v2 version of sanity-plugin-latex-input.
For the v3 version, please refer to the v3-branch.
yarn install sanity-plugin-latex-input@studio-v2
Next, add "latex-input"
to sanity.json
plugins array:
"plugins": [
"latex-input"
]
You may now use the type name latex
in your schema, such as in portable text.
import React from 'react'
const mathInlineIcon = () => (
<span>
<span style={{ fontWeight: 'bold' }}>∑</span>b
</span>
)
const mathIcon = () => <span style={{ fontWeight: 'bold' }}>∑</span>
export default {
name: 'portableTextWithLatex',
type: 'array',
title: 'Body',
of: [
{
type: 'block',
title: 'Block',
of: [
{ type: 'latex', icon: mathInlineIcon, title: 'Inline math' },
],
},
{ type: 'latex', icon: mathIcon, title: 'Math block' },
],
}
The Portable Text editor will render a preview of the contents with KaTeX.
FAQs
Latex input for Portable Text Editor in Sanity Studio V3.
The npm package sanity-plugin-latex-input receives a total of 495 weekly downloads. As such, sanity-plugin-latex-input popularity was classified as not popular.
We found that sanity-plugin-latex-input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.