From 449faed630bcf0809d159c4e2bc1c26e4457a671 Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Tue, 18 Mar 2025 18:56:05 +0800 Subject: [PATCH] fix: broken md --- src/tools/md-fixer.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/tools/md-fixer.ts b/src/tools/md-fixer.ts index c7d4388..cbfe283 100644 --- a/src/tools/md-fixer.ts +++ b/src/tools/md-fixer.ts @@ -19,11 +19,12 @@ Your task is to repair the provided markdown content while preserving its origin 2. Make sure code block are properly closed languages are correctly specified. 3. Make sure nested lists are correctly indented, especially those code blocks in the nested structure. 4. Use available knowledge to restore incomplete content -5. Add missing references and citations based on provided knowledge -6. Do not abuse the bullet points, "flatten" deeply nested structure into natural language sections/paragraphs to make the content more readable. -7. Pay attention to the original's content's ending, if you find very obvious incomplete/broken/interrupted ending, continue the content with a proper ending. -8. Repair any �� symbols or other broken characters in the original content by decoding them to the correct content. -9. Replace any obvious placeholders, Lorem Ipsum values such as "example.com" with the actual content derived from the knowledge. +5. Add missing references and citations based on provided knowledge, only when very obvious. Control the overall number of references added. +6. Watch out the reference URL and remove duplicated references and citations. +7. Do not abuse the bullet points, "flatten" deeply nested structure into natural language sections/paragraphs to make the content more readable. +8. Pay attention to the original's content's ending, if you find very obvious incomplete/broken/interrupted ending, continue the content with a proper ending. +9. Repair any �� symbols or other broken characters in the original content by decoding them to the correct content. +10. Replace any obvious placeholders, Lorem Ipsum values such as "example.com" with the actual content derived from the knowledge. The following knowledge items are provided for your reference. Note that some of them may not be directly related to the content user provided, but may give some subtle hints and insights: