
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
markdown-it-callouts
Advanced tools
A simple markdown-it plugin that adds support for Obsidian callouts or GitHub Flavored Markdown alerts.
Given the following markdown:
> [!note] Title!
> Body line 1
>
> Body line 2
The rendered HTML looks like:
<div class="callout callout-note">
<h3 class="callout-title">Title!</h3>
<p>Body line 1</p>
<p>Body line 2</p>
</div>
The second class generated, callout-note, will pull the callout type from Markdown so you can easily style different callout types differently.
The elements generated are also configurable. The config is defined as follows:
export interface Config {
/**
* The element that wraps the created callout. Defaults to "div"
*/
defaultElementType?: string;
/**
* An override map to use different elements for different callout types.
*
* All callout types are converted to lowercase, so use lowercase keys
*/
elementTypes?: Partial<{ [calloutType: string]: string }>;
/**
* The element that wraps the title and symbol
*/
calloutTitleElementType?: string;
/**
* A symbol inserted before the title for given callout types
*
* All callout types are converted to lowercase, so use lowercase keys
*/
calloutSymbols?: Partial<{ [calloutType: string]: string }>;
/**
* The element to wrap callout symbols in. Defaults to "span"
*/
calloutSymbolElementType?: string;
/**
* - "none": (default) do not render any title.
* - "blank": render a blank title (""). Renders the callout-title and callout-symbol containers,
* so you can have a symbol even with no title.
* - "match-type": render a title that matches the type of callout. An info callout will have an "Info" title,
* a note callout will have a "Note" title, etc.
*/
emptyTitleFallback?: "none" | "blank" | "match-type";
}
This package is inspired by the Eleventy Notes package implementation of callout parsing. It's designed to be pretty drop-in, especially for Eleventy blogs.
FAQs
Parse Markdown callouts in markdown-it
We found that markdown-it-callouts demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.