---
title: "Markup languages, MailKaro Docs"
description: "Paste Markdown, MJML, BBCode, Textile, wiki markup, AMP, CSV or plain text into an HTML block and it turns into HTML you can see and edit."
---

# Markup languages

Files and assets

# Markup languages

Paste Markdown, MJML, BBCode, Textile, wiki markup, AMP, a table (CSV) or plain text into an HTML block and it becomes HTML you can see and edit on the canvas. Nothing to turn on.

## Where it works

In the HTML block's markup box, pasted on the canvas, and when you load a file with `Replace with a file`(`.md`, `.markdown`, `.mjml`, `.textile`, `.wiki`, `.bbcode`, `.csv`, `.tsv`, `.txt`). The language is found from what you paste; a file name is only a hint. A note under the box says what it was converted from. HTML stays as it is, and plain words you type by hand are not changed.

## What is understood

|Property |Controls |Default |
|`Markdown` |Headings, bold, italic, links, images, lists, tables, task lists, code, quotes, rules |GitHub style, so a README pastes as it reads (badges too) |
|`MJML` |mj-section, mj-column (with widths), mj-text, mj-button, mj-image, mj-divider, mj-spacer, mj-social, mj-table, mj-raw, mj-attributes |Written as plain HTML, using MJML's own defaults |
|`AMP for Email` |The page, with amp-img, accordions and the AMP styles |Scripts and the boilerplate that hides the page are removed, as in a client without AMP |
|`BBCode` |[b] [i] [u] [s] [url] [img] [quote] [list] [size] [color] [center] [code] [table] |A tag that is not closed or not known stays as text |
|`Textile` |h1. to h6., bq., bc., lists, tables, bold, italic, links, images |Written the usual Textile way |
|`Wiki markup` |Headings with =, bold and italic with quotes, [[links]], [url label], lists, tables, rules |Like MediaWiki |
|`CSV and TSV` |Comma, tab, semicolon or pipe separated rows |The first row is the header |
|`Plain text` |Anything else |Paragraphs, line breaks, links |

## What you get

Plain HTML with email styles on it (heading sizes, spacing, list markers), saved in the block. You edit it the way you edit any HTML block, and the text toolbar (bold, italic, underline, strike, subscript, superscript, link, emoji) works on the selection. Merge tags such as `{{first_name}}` are kept.

## The Markup block

The palette has a **Markup** tile. It is an HTML block that keeps the markup you wrote (Markdown, MJML ...) next to the HTML made from it. Choose the language or let it be found, write or paste the markup, or upload a file; once there is markup the button reads `Replace with a file`, and replacing asks first. `Keep as HTML only` drops the markup and keeps the HTML. If you edit the text on the canvas and later change the markup, you are asked before those edits are replaced.

## Files in other blocks

The Text block and the Heading block have a **From a file** section with the same upload and replace button. A Markdown, wiki, BBCode, HTML or text file becomes the text, with its bold, italic, links and lists; a heading takes the first heading or line of the file. Tables and page layout belong in an HTML or Markup block. In [Import an email](https://docs.mailkaro.com/import-email), the HTML box and the file picker understand the same languages.

ℹ The result is made safe: scripts, event handlers and `javascript:` links are removed, and links and pictures only keep addresses a mail client can use. A language is converted once, so what you send is HTML, not the original markup.

Source: https://docs.mailkaro.com/markup-languages
