Esempi
Turn quoted address rows into a Markdown table
Quoted commas belong to a cell, rather than starting a new column.
Input
Name,Age,Address
"Doe, John",30,"New York, NY"
"Smith, Jane",25,"Los Angeles, CA"Expected answer
| Name | Age | Address |
| ----------- | --- | --------------- |
| Doe, John | 30 | New York, NY |
| Smith, Jane | 25 | Los Angeles, CA |
- Delimitatori di cella
,- Delimitatori di riga
- Rendi la prima riga intestazione
On- Formato
Markdown
Make an ASCII comparison of inner-planet moon counts
Input
Planet Moons
Mercury 0
Venus 0
Earth 1
Mars 2Expected answer
+---------+-------+
| Planet | Moons |
+---------+-------+
| Mercury | 0 |
| Venus | 0 |
| Earth | 1 |
| Mars | 2 |
+---------+-------+
- Delimitatori di cella
- Delimitatori di riga
- Rendi la prima riga intestazione
On- Formato
ASCII
Create an HTML table from pipe-separated race splits
Input
Leg|Distance km|Minutes
Swim|1.5|30
Bike|40|80
Run|10|50Expected answer
<table class='table table-hover table-sm table-bordered table-nonfluid'><thead class='thead-light'><tr><th>Leg</th><th>Distance km</th><th>Minutes</th></tr></thead><tbody><tr><td>Swim</td><td>1.5</td><td>30</td></tr><tr><td>Bike</td><td>40</td><td>80</td></tr><tr><td>Run</td><td>10</td><td>50</td></tr></tbody></table>- Delimitatori di cella
|- Delimitatori di riga
- Rendi la prima riga intestazione
On- Formato
HTML
Keep a quoted line break inside a notes cell
The line break inside the quotation marks remains inside one cell.
Input
ID,Note
1,"First line
Second line"
2,ReadyExpected answer
<table class='table table-hover table-sm table-bordered table-nonfluid'><thead class='thead-light'><tr><th>ID</th><th>Note</th></tr></thead><tbody><tr><td>1</td><td>First line
Second line</td></tr><tr><td>2</td><td>Ready</td></tr></tbody></table>- Delimitatori di cella
,- Delimitatori di riga
- Rendi la prima riga intestazione
On- Formato
HTML
Render a headerless semicolon log as an ASCII table
Input
200;GET;/health
404;GET;/missingExpected answer
+-----+-----+----------+
| 200 | GET | /health |
| 404 | GET | /missing |
+-----+-----+----------+
- Delimitatori di cella
;- Delimitatori di riga
- Rendi la prima riga intestazione
Off- Formato
ASCII
HTML cells escape active markup
Input
<img src=x onerror=alert(1)>,safeExpected answer
<table class='table table-hover table-sm table-bordered table-nonfluid'><tbody><tr><td><img src=x onerror=alert(1)></td><td>safe</td></tr></tbody></table>- Delimitatori di cella
,- Delimitatori di riga
\r\n- Rendi la prima riga intestazione
Off- Formato
HTML
Parametri
| Parametro | Valore predefinito | Input e opzioni |
|---|---|---|
| Delimitatori di cella | "," | Sono supportate sequenze di escape come \n, \r e \t |
| Delimitatori di riga | "\\r\\n" | Sono supportate sequenze di escape come \n, \r e \t |
| Rendi la prima riga intestazione | false | Attivo o disattivo |
| Formato | ASCII | ASCII, HTML, Markdown |