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

16 lines (15 loc) 581 B
import type { Root } from "hast"; import type { Plugin as UnifiedPlugin } from "unified"; /** * UnifiedPlugin to replace `<del>` HastElements with a `<span>` * tag with the `text-decoration: line-through;` style. * * @see {@link https://developer.atlassian.com/server/confluence/confluence-storage-format/ | Confluence Storage Format } * * @example * <del>Deleted text</del> * // becomes * <span style="text-decoration: line-through;">Deleted text</span> */ declare const rehypeReplaceStrikethrough: UnifiedPlugin<[], Root>; export default rehypeReplaceStrikethrough;