UNPKG

@vrerv/md-to-notion

Version:

An upload of markdown files to a hierarchy of Notion pages.

12 lines 637 B
export declare const MARKDOWN_LINK_KEEP_ANCHOR_REGEX: RegExp; export declare const MARKDOWN_LINK_REGEX: RegExp; export declare function replaceInternalMarkdownLinks(markdownContent: string, linkMap: Map<string, string>, filePathFromRoot: string, replacer?: (text: string, linkPathFromRoot: string) => string): string; /** * Removes internal Markdown links from the content for Notion. * * @param content - The content to process. * @param keepAnchor * @returns The content with links removed. */ export declare function removeMarkdownLinks(content: string, keepAnchor?: boolean): string; //# sourceMappingURL=replace-links.d.ts.map