md-linear-sync
Version:
Sync Linear tickets to local markdown files with status-based folder organization
20 lines • 867 B
TypeScript
/**
* Content processing utilities for markdown ticket files
*/
/**
* Removes duplicate H1 title from markdown content if it matches the given title
*
* @param content - The markdown content to process
* @param title - The title to match against (from frontmatter)
* @returns The processed content with duplicate title removed
*/
export declare function removeDuplicateTitle(content: string, title?: string): string;
/**
* Removes frontmatter from markdown content and optionally removes duplicate title
*
* @param content - The full markdown content including frontmatter
* @param title - Optional title to check for duplicates
* @returns The body content with frontmatter removed and optional duplicate title removal
*/
export declare function extractBodyContent(content: string, title?: string): string;
//# sourceMappingURL=contentProcessor.d.ts.map