![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
remark-supersub
Advanced tools
Readme
Remark plugin for adding support for pandoc-style superscript and subscript syntax to Markdown.
Adds two new node types to MDAST: superscript
and subscript
.
When using rehype, these will be stringified as sup
and sub
respectively.
21^st^ Century
H~2~O
The example above will yield:
{
type: 'paragraph',
children: [
{
type: 'text',
value: '21'
},
{
type: 'superscript',
children: [{
type: 'text',
value: 'st'
}]
},
{
type: 'text',
value: ' Century'
}
]
}
...
{
type: 'paragraph',
children: [
{
type: 'text',
value: 'H'
},
{
type: 'subscript',
children: [{
type: 'text',
value: '2'
}]
},
{
type: 'text',
value: 'O'
}
]
}
npm install --save remark-supersub
import unified from 'unified'
import markdown from 'remark-parse'
import html from 'rehype-stringify'
import remark2rehype from 'remark-rehype'
import supersub from 'remark-supersub'
unified()
.use(markdown)
.use(supersub)
.use(remark2rehype)
.use(html)
MIT © Alex Shaw
FAQs
Remark plugin for adding subscript/superscript syntax.
The npm package remark-supersub receives a total of 8,637 weekly downloads. As such, remark-supersub popularity was classified as popular.
We found that remark-supersub 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.