Translate Markdown content while preserving all formatting syntax including headings, bold, italic, links, code blocks, lists, and tables. Only the readable text is translated.
HTTP Request
| |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
source | string | No | "auto" | Source language code. Use auto for automatic detection |
target | string | Yes | — | Target language code |
Request Body
Send the Markdown content as the raw request body with Content-Type: text/plain.
| |
Response
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | Whether the request was successful |
data.translated_markdown | string | The translated Markdown with formatting preserved |
data.source_language | string | Detected or specified source language code |
data.source_language_name | string | Human-readable name of the source language |
Code Examples
| |
| |
| |
Related Endpoints
- Translate HTML — Translate HTML content
- Translate — Translate plain text