diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 734746d..5106f60 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,7 +5,8 @@ - + + - { + "keyToString": { + "DefaultHtmlFileTemplate": "HTML File", + "JavaScript 调试.output.html (1).executor": "Run", + "JavaScript 调试.output.html.executor": "Run", + "JavaScript 调试.regex_中文.html.executor": "Run", + "JavaScript 调试.test2_英文.html.executor": "Run", + "JavaScript 调试.互联网认证授权机制_英文.html.executor": "Run", + "ModuleVcsDetector.initialDetectionPerformed": "true", + "Python 测试.Python 测试 (markdown_mask.py 内).executor": "Run", + "Python 测试.markdown_mask.Test.test_basic_link_masking 的 Python 测试.executor": "Run", + "Python.PDFtranslater (1).executor": "Run", + "Python.PDFtranslater (2).executor": "Run", + "Python.agent_utils.executor": "Run", + "Python.convert.executor": "Run", + "Python.markdown_splitter.executor": "Run", + "Python.markdown_utils.executor": "Run", + "Python.test.executor": "Run", + "Python.test1.executor": "Run", + "Python.test2.executor": "Run", + "Python.translater.executor": "Debug", + "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.git.unshallow": "true", + "git-widget-placeholder": "main", + "last_opened_file_path": "C:/Users/jxgm/Desktop/FileTranslate/tests/resource", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "settings.editor.selected.configurable": "Errors", + "vue.rearranger.settings.migration": "true" } -}]]> +} @@ -77,7 +78,7 @@ - + @@ -329,7 +310,8 @@ - + + @@ -339,7 +321,7 @@ - + diff --git a/docutranslate/translater.py b/docutranslate/translater.py index 42426c0..c362f3b 100644 --- a/docutranslate/translater.py +++ b/docutranslate/translater.py @@ -174,11 +174,22 @@ hello, what's your name? font-size: 15px; }} + + + {markdowner.convert(self.markdown)} - + """ with open(full_name, "w") as file: