Files
boris/test/markdown/tables.md
2025-11-07 14:44:04 +01:00

3.3 KiB

Markdown Tables Test

This file contains various markdown table examples to test table parsing and rendering.

Basic Table

Column 1 Column 2
Cell 1, Row 1 Cell 2, Row 1
Cell 1, Row 2 Cell 2, Row 2

Table with Alignment

Left Centered Right
This is left Text is centered And this is right-aligned
More text Even more text And even more to the right

Table with Formatting

Name Location Food
Alice New York Pizza
Bob Paris Crepes
Name Website Description
Alice GitHub Code repository
Bob Nostr Decentralized network

Table with Code Blocks

Language Example
Python print("Hello, World!")
JavaScript console.log("Hello")
SQL SELECT * FROM users

Wide Table (Testing Horizontal Scroll)

Column 1 Column 2 Column 3 Column 4 Column 5 Column 6 Column 7 Column 8
Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 Data 8
More Content Here To Test Scrolling Behavior Mobile

Table with Mixed Content

Item Price Status Notes
Apple $1.00 In stock Fresh from the farm
Banana $0.50 ⚠️ Low stock Last few left
Orange $1.25 Out of stock Coming next week

Table with Empty Cells

Name Email Phone
Alice alice@example.com
Bob 555-1234
Charlie charlie@example.com 555-5678

Table with Long Text

Short Medium Length Column Very Long Column That Contains A Lot Of Text And Should Wrap Properly
A This is medium text This is a very long piece of text that should wrap to multiple lines when displayed in the table cell. It should maintain proper formatting and readability.

Table with Numbers

Rank Name Score Percentage
1 Alice 95 95%
2 Bob 87 87%
3 Charlie 82 82%

Table with Special Characters

Symbol Name Usage
| Pipe Used in markdown tables
\* Asterisk Used for bold/italic
\# Hash Used for headings

Table with Headers Only

Header 1 Header 2 Header 3

Single Column Table

Item
First
Second
Third

Table with Nested Formatting

Description Example
Bold and italic Important
Code and link [Click here](https://example.com)
Strikethrough Old price