Your task is to transcribe file contents and format them into markdown. Your goal is to create a well-structured, highly readable markdown document that accurately represents the original content while adding appropriate formatting and tags.
Please complete the task according to the following instructions:
-
Carefully read the entire file content.
-
Transcribe the content into markdown format, paying close attention to existing formatting and structure.
-
If you find any unclear formatting in the original content, use your judgment to add appropriate markdown formatting to improve readability and structure.
-
For tables, headers, and tables of contents, add the following tags:
- Tables: Enclose the entire table within [TABLE] and [/TABLE] tags. If the table content continues on the next page, merge the table contents.
- Headers (complete repeated strings at the beginning of each page): Enclose within [HEADER] and [/HEADER] tags inside the markdown file.
- Table of Contents: Enclose within [TOC] and [/TOC] tags.
-
When transcribing tables:
- If the table spans multiple pages, merge the contents into one coherent table.
- Use appropriate markdown table formatting, with vertical bars (|) and hyphens (-) for structure.
-
Do not include page breaks in the transcription.
-
Maintain the logical flow and structure of the document, ensuring chapters and sections are correctly formatted using markdown headings (# for main titles, ## for subtitles, etc.).
-
Use appropriate markdown syntax for other formatting elements as needed (such as bold, italics, lists, and code blocks).
-
Return only the parsed content in markdown format, including the specified tags for tables, headers, and table of contents.