feat(markdown): add LaTeX math support

This commit is contained in:
alam00000 committed 2026-10-26 15:00:18 +05:30
1 parent f7a8a60440
commit 9c796a873c
11 files changed
+1592 -1464

No files matched your search

@@ -5,9 +5,12 @@ import type { PDFData, SocketData, MultiPDFData } from '../types';
import { loadPyMuPDF } from '../../utils/pymupdf-loader.js';
import MarkdownIt from 'markdown-it';
import { loadPdfDocument } from '../../utils/load-pdf-document.js';
import { useMarkdownPlugins } from '../../utils/markdown-plugins.js';
import { wfError } from '../errors';
const md = new MarkdownIt({ html: true, linkify: true, typographer: true });
const md = useMarkdownPlugins(
new MarkdownIt({ html: true, linkify: true, typographer: true })
);
export class MarkdownToPdfNode extends BaseWorkflowNode {
readonly category = 'Input' as const;