Files

7 lines
165 B
TypeScript
Raw Permalink Normal View History

import TurndownService from 'turndown';
2024-08-13 21:04:32 +06:00
const turndown = new TurndownService();
export function htmlToMarkdown(html: string) {
return turndown.turndown(html);
}