
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@dragon-fish/md-block
Advanced tools
Cool stuff that lets you embed markdown in your HTML.
Just like this:
<markdown>
# Markdown Block
normal **bold** _italic_ ~~strikethrough~~
</markdown>
pnpm add @dragon-fish/md-block
Using package
// Simply import only, then you can use <markdown> tag in your HTML
import '@dragon-fish/md-block'
// Or sometimes you may need to using the API
import MarkdownBlock from '@dragon-fish/md-block'
const md = MarkdownBlock.createElement()
md.innerText = `
# Markdown Block
normal **bold** _italic_ ~~strikethrough~~
`
document.body.appendChild(md)
In browser
<!-- Simply load the script -->
<script src="https://unpkg.com/@dragon-fish/md-block"></script>
<markdown>
<!-- some markdown here -->
</markdown>
<!-- Or sometimes you may need to using the API -->
<script type="module">
import { default as MarkdownBlock } from 'https://unpkg.com/@dragon-fish/md-block?module'
const md = MarkdownBlock.createElement()
md.innerText = `
# Markdown Block
normal **bold** _italic_ ~~strikethrough~~
`
document.body.appendChild(md)
</script>
I created this package as a practice for using CustomElements. Although it doesn't have much use, it can indeed help you insert content written in markdown anywhere on the web page at any time.
FAQs
Cool stuff that lets you embed markdown in your HTML.
The npm package @dragon-fish/md-block receives a total of 0 weekly downloads. As such, @dragon-fish/md-block popularity was classified as not popular.
We found that @dragon-fish/md-block 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.