
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@circlesac/mack
Advanced tools
Convert Markdown and GitHub Flavoured Markdown to Slack BlockKit Blocks
Mack is a Markdown parser to convert any Markdown content to Slack BlockKit block objects.
Text is truncated to fit within the Slack API's limits.
bun add @circlesac/mack
import { markdownToBlocks } from "@circlesac/mack"
const blocks = markdownToBlocks(`
# Hello world
* bulleted item 1
* bulleted item 2
abc _123_

`)
The blocks object now results in this payload.
function markdownToBlocks(text: string, options: ParsingOptions): KnownBlock[]
text: the content to parseoptions: the options to use when parsing.interface ParsingOptions {
// Configure how lists are displayed
lists?: ListOptions
}
interface ListOptions {
// Configure how checkbox list items are displayed. By default, they are prefixed with '* '
checkboxPrefix?: (checked: boolean) => string
}
FAQs
Converts Markdown to Slack BlockKit Blocks
We found that @circlesac/mack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.