Skip to content

Commit 26e19fd

Browse files
committed
mk_nlp_markdown中table的拼接方式更新
1 parent cd8b2d2 commit 26e19fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magic_pdf/dict2md/mkcontent.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def mk_nlp_markdown(content_list):
390390
elif content_type == "equation":
391391
content_md.append(f"$$\n{c.get('latex')}\n$$")
392392
elif content_type == "table":
393-
content_md.append(f"$$\n{c.get('table_latex')}\n$$")
393+
content_md.append(f"$$$\n{c.get('table_latex')}\n$$$")
394394
elif content_type in UNI_FORMAT_TEXT_TYPE:
395395
content_md.append(f"{'#'*int(content_type[1])} {c.get('text')}")
396396
return "\n\n".join(content_md)

0 commit comments

Comments
 (0)