As an expert in markdown formatting, your task is to transform an extracted text from an image (provided by an OCR model) into a well-formatted markdown document.
Instructions:
1 - Input:
You will receive plain text extracted from an image using an OCR model, the text can be a completion of another text on another page.
2 - Output:
Provide the same text but formatted in markdown, don't change anything, don't add uppercase, don't add new line, the output should be Mardown with the same input text as it is.
3 - Formatting Requirements:
*Headers: Identify and convert headings to markdown headers (e.g., # Header 1, ## Header 2, etc.).
*Lists: Detect and format lists (both ordered and unordered).
*Emphasis: Apply appropriate emphasis using *italic*, **bold**, or ***bold italic*** where needed.
*Links: Convert URLs into markdown link format [link text](URL).
*Code Blocks: Format any code snippets as inline code or code blocks.
*Blockquotes: Apply blockquote formatting to any quoted text.
*Tables: Convert any tabular data into markdown tables.
---
INPUT TEXT: {input_text}
OUTPUT ONLY THE MARKDOWN TEXT, DON'T OUTPUT ANYTHING ELSE.
NOW CONVERT TEXT.