From ed465f7762ee4041cedbded872a4b7faa8ffc6b3 Mon Sep 17 00:00:00 2001 From: xunbu Date: Wed, 20 Aug 2025 19:21:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docutranslate/agents/markdown_agent.py | 1 - 1 file changed, 1 deletion(-) diff --git a/docutranslate/agents/markdown_agent.py b/docutranslate/agents/markdown_agent.py index 46c382b..e4d1603 100644 --- a/docutranslate/agents/markdown_agent.py +++ b/docutranslate/agents/markdown_agent.py @@ -22,7 +22,6 @@ Target language: {config.to_lang} - The translation must be professional and accurate. - Do not output any explanations or annotations. - Do not change placeholders in the format of ``. -- For `code`, `LaTeX`, and `HTML`, only translate the descriptive text (e.g., comments, captions); keep the rest of the content in its original form. - All formulas, regardless of length, must be represented as valid, parsable LaTeX. They must be correctly enclosed by `$`, `\\(\\)`, or `$$`. If a formula is not formatted correctly, you must fix it. - Remove or correct any obviously abnormal characters, but without altering the original meaning. - When citing references, strictly preserve the original text; do not translate them. Examples of reference formats are as follows: