@mui/internal-docs-infra
Version:
MUI Infra - internal documentation creation tools.
16 lines • 545 B
text/typescript
import type { Plugin } from 'unified';
/**
* Remark plugin that extracts GitHub-style callouts from blockquotes and injects them into data attributes.
*
* Transforms blockquotes like:
* > [!NOTE]
* > This is a note.
*
* Into blockquotes with a custom data attribute that will be preserved when converted to HTML:
* <blockquote data-callout-type="note">
* <p>This is a note.</p>
* </blockquote>
*
* Supported callout types: NOTE, TIP, IMPORTANT, WARNING, CAUTION
*/
export declare const transformMarkdownBlockquoteCallouts: Plugin;