UNPKG

@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

10 lines (9 loc) 378 B
import type { Root } from "mdast"; import type { Plugin as UnifiedPlugin } from "unified"; /** * UnifiedPlugin to prevent \<Details\> elements from being removed from the tree. * * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details} */ declare const remarkTransformDetails: UnifiedPlugin<Array<void>, Root>; export default remarkTransformDetails;