الترميز كجدول

يُشفّر الإدخال باستخدام “الترميز كجدول” وفقًا للمعيار المقابل.

المدخلات: نصالنتيجة: HTML بمعاينة معزولة

إدخال نصي

خيارات الأداة

أمثلة

Turn quoted address rows into a Markdown table

Quoted commas belong to a cell, rather than starting a new column.

المدخلات

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 |
فواصل الخلايا
,
فواصل الصفوف
جعل الصف الأول عنوانًا
On
تنسيق
Markdown
Make an ASCII comparison of inner-planet moon counts

المدخلات

Planet	Moons
Mercury	0
Venus	0
Earth	1
Mars	2

Expected answer

+---------+-------+
| Planet  | Moons |
+---------+-------+
| Mercury | 0     |
| Venus   | 0     |
| Earth   | 1     |
| Mars    | 2     |
+---------+-------+
فواصل الخلايا
فواصل الصفوف
جعل الصف الأول عنوانًا
On
تنسيق
ASCII
Create an HTML table from pipe-separated race splits

المدخلات

Leg|Distance km|Minutes
Swim|1.5|30
Bike|40|80
Run|10|50

Expected 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>
فواصل الخلايا
|
فواصل الصفوف
جعل الصف الأول عنوانًا
On
تنسيق
HTML
Keep a quoted line break inside a notes cell

The line break inside the quotation marks remains inside one cell.

المدخلات

ID,Note
1,"First line
Second line"
2,Ready

Expected 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>
فواصل الخلايا
,
فواصل الصفوف
جعل الصف الأول عنوانًا
On
تنسيق
HTML
Render a headerless semicolon log as an ASCII table

المدخلات

200;GET;/health
404;GET;/missing

Expected answer

+-----+-----+----------+
| 200 | GET | /health  |
| 404 | GET | /missing |
+-----+-----+----------+
فواصل الخلايا
;
فواصل الصفوف
جعل الصف الأول عنوانًا
Off
تنسيق
ASCII
HTML cells escape active markup

المدخلات

<img src=x onerror=alert(1)>,safe

Expected answer

<table class='table table-hover table-sm table-bordered table-nonfluid'><tbody><tr><td>&lt;img src=x onerror=alert(1)&gt;</td><td>safe</td></tr></tbody></table>
فواصل الخلايا
,
فواصل الصفوف
\r\n
جعل الصف الأول عنوانًا
Off
تنسيق
HTML

المعاملات

المعاملالقيمة الافتراضيةالمدخلات والخيارات
فواصل الخلايا","تدعم تسلسلات الإفلات مثل \n و\r و\t
فواصل الصفوف"\\r\\n"تدعم تسلسلات الإفلات مثل \n و\r و\t
جعل الصف الأول عنوانًاfalseتشغيل أو إيقاف
تنسيقASCIIASCII, HTML, ماركدون

أدوات ذات صلة

أدوات مساعدة

مرجع العملية

عرض الوثائق التقنية الأصلية (English)