
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@md-plugins/md-plugin-blockquote
Advanced tools
A markdown-it plugin for Blockquotes with custom styles.
A Markdown-It plugin that enhances blockquote rendering by adding customizable CSS classes. This allows for easier styling and alignment with design systems, enabling more visually appealing and consistent blockquote presentation.
<blockquote>
elements.Install the plugin via your preferred package manager:
# with pnpm:
pnpm add @md-plugins/md-plugin-blockquote
# with Yarn:
yarn add @md-plugins/md-plugin-blockquote
# with npm:
npm install @md-plugins/md-plugin-blockquote
import MarkdownIt from 'markdown-it'
import { blockquotePlugin } from 'md-plugin-blockquote'
const md = new MarkdownIt()
md.use(blockquotePlugin, {
blockquoteClass: 'custom-blockquote',
})
const markdownContent = `
> This is a blockquote.
`
const renderedOutput = md.render(markdownContent)
console.log('Rendered Output:', renderedOutput)
The rendered output will include the specified CSS class:
<blockquote class="custom-blockquote">
<p>This is a blockquote.</p>
</blockquote>
The md-plugin-blockquote
plugin supports the following options:
Option | Type | Default | Description |
---|---|---|---|
blockquoteClass | string | 'markdown-blockquote' | CSS class to apply to blockquotes. |
To run the tests, use the following command:
pnpm test
In case this README falls out of date, please refer to the documentation for the latest information.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A markdown-it plugin for Blockquotes with custom styles.
We found that @md-plugins/md-plugin-blockquote 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.