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

12 lines (11 loc) 532 B
import type { Root } from "mdast"; import type { Plugin as UnifiedPlugin } from "unified"; /** * UnifiedPlugin to replace \<Tabs\> elements from tree. * * @throws {InvalidTabsFormatError} if \<Tabs\> tag does not have only TabItem children. * @throws {InvalidTabItemMissingLabelError} if \<TabItem\> tag does not have a label property. * @see {@link https://docusaurus.io/docs/markdown-features/tabs | Docusaurus Details} */ declare const remarkReplaceTabs: UnifiedPlugin<Array<void>, Root>; export default remarkReplaceTabs;