Beispiele
Turn quoted address rows into a Markdown table
Quoted commas belong to a cell, rather than starting a new column.
Eingabe
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 |
- Zelltrenner
,- Zeilentrennzeichen
- Erste Zeile als Kopfzeile erstellen
On- Format
Markdown
Make an ASCII comparison of inner-planet moon counts
Eingabe
Planet Moons
Mercury 0
Venus 0
Earth 1
Mars 2Expected answer
+---------+-------+
| Planet | Moons |
+---------+-------+
| Mercury | 0 |
| Venus | 0 |
| Earth | 1 |
| Mars | 2 |
+---------+-------+
- Zelltrenner
- Zeilentrennzeichen
- Erste Zeile als Kopfzeile erstellen
On- Format
ASCII
Create an HTML table from pipe-separated race splits
Eingabe
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>- Zelltrenner
|- Zeilentrennzeichen
- Erste Zeile als Kopfzeile erstellen
On- Format
HTML
Keep a quoted line break inside a notes cell
The line break inside the quotation marks remains inside one cell.
Eingabe
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>- Zelltrenner
,- Zeilentrennzeichen
- Erste Zeile als Kopfzeile erstellen
On- Format
HTML
Render a headerless semicolon log as an ASCII table
Eingabe
200;GET;/health
404;GET;/missingExpected answer
+-----+-----+----------+
| 200 | GET | /health |
| 404 | GET | /missing |
+-----+-----+----------+
- Zelltrenner
;- Zeilentrennzeichen
- Erste Zeile als Kopfzeile erstellen
Off- Format
ASCII
HTML cells escape active markup
Eingabe
<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>- Zelltrenner
,- Zeilentrennzeichen
\r\n- Erste Zeile als Kopfzeile erstellen
Off- Format
HTML
Parameter
| Parameter | Standardwert | Eingabe und Auswahl |
|---|---|---|
| Zelltrenner | "," | Escape-Sequenzen wie \n, \r und \t werden unterstützt |
| Zeilentrennzeichen | "\\r\\n" | Escape-Sequenzen wie \n, \r und \t werden unterstützt |
| Erste Zeile als Kopfzeile erstellen | false | Ein oder aus |
| Format | ASCII | ASCII, HTML, Markdown |