@telefonica/markdown-confluence-sync
Version:
Creates/updates/deletes Confluence pages based on markdown files in a directory. Supports Mermaid diagrams and per-page configuration using frontmatter metadata. Works great with Docusaurus
12 lines (11 loc) • 500 B
TypeScript
import type { Root } from "mdast";
import type { Plugin as UnifiedPlugin } from "unified";
/**
* UnifiedPlugin to remove mdx code from the AST.
*
* @see {@link https://github.com/syntax-tree/mdast-util-mdx-expression#syntax-tree}
* @see {@link https://github.com/syntax-tree/mdast-util-mdx-jsx#syntax-tree}
* @see {@link https://github.com/syntax-tree/mdast-util-mdxjs-esm#syntax-tree}
*/
declare const remarkRemoveMdxCode: UnifiedPlugin<Array<void>, Root>;
export default remarkRemoveMdxCode;