From 26e19fd22097913d09c9ecf9ebf8f733b537d468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=B0=8F=E8=92=99?= Date: Fri, 29 Mar 2024 17:55:58 +0800 Subject: [PATCH] =?UTF-8?q?mk=5Fnlp=5Fmarkdown=E4=B8=ADtable=E7=9A=84?= =?UTF-8?q?=E6=8B=BC=E6=8E=A5=E6=96=B9=E5=BC=8F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magic_pdf/dict2md/mkcontent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic_pdf/dict2md/mkcontent.py b/magic_pdf/dict2md/mkcontent.py index 861ee94e..74737b0a 100644 --- a/magic_pdf/dict2md/mkcontent.py +++ b/magic_pdf/dict2md/mkcontent.py @@ -390,7 +390,7 @@ def mk_nlp_markdown(content_list): elif content_type == "equation": content_md.append(f"$$\n{c.get('latex')}\n$$") elif content_type == "table": - content_md.append(f"$$\n{c.get('table_latex')}\n$$") + content_md.append(f"$$$\n{c.get('table_latex')}\n$$$") elif content_type in UNI_FORMAT_TEXT_TYPE: content_md.append(f"{'#'*int(content_type[1])} {c.get('text')}") return "\n\n".join(content_md) \ No newline at end of file