markdown-tables

Comprehensive guide to creating and formatting tables in markdown.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "markdown-tables" with this command: npx skills add arielperez82/agents-and-skills/arielperez82-agents-and-skills-markdown-tables

Markdown Tables

Comprehensive guide to creating and formatting tables in markdown.

Basic Table Syntax

Header 1Header 2Header 3
Cell 1Cell 2Cell 3
Cell 4Cell 5Cell 6

Renders as:

Header 1 Header 2 Header 3

Cell 1 Cell 2 Cell 3

Cell 4 Cell 5 Cell 6

Column Alignment

LeftCenterRight
LeftCenterRight
alignedalignedaligned

Renders as:

Left Center Right

Left Center aligned

text text text

  • :--- Left align (default)

  • :--: Center align

  • ---: Right align

Minimum Syntax

The pipes and dashes don't need to align:

HeaderHeader
CellCell

However, aligned tables are more readable in source.

Escaping Pipe Characters

Use | to include a literal pipe in a cell:

CommandDescription
a | bPipe operator
cmd || exitOr operator

Inline Formatting in Tables

Tables support inline markdown:

FeatureSyntax
Bold**text**
Italic*text*
Code`code`
Link[text](url)

Multi-line Cell Content

Standard markdown tables don't support multi-line cells. Workarounds:

Using <br> Tags

StepDescription
1First line<br>Second line
2Another step

Using HTML Tables

For complex layouts, use HTML:

<table> <tr> <th>Header</th> <th>Description</th> </tr> <tr> <td>Item</td> <td> <ul> <li>Point one</li> <li>Point two</li> </ul> </td> </tr> </table>

Empty Cells

Use a space or leave empty:

ABC
13
45

Wide Tables

For tables with many columns, consider:

Scrollable Container (HTML)

<div style="overflow-x: auto;">

Col 1Col 2Col 3Col 4Col 5Col 6
DataDataDataDataDataData

</div>

Vertical Layout

Transform wide tables into key-value pairs:

Item 1

PropertyValue
NameFoo
TypeBar
StatusActive

Common Table Patterns

Comparison Table

FeatureFreeProEnterprise
Users550Unlimited
Storage1GB10GB100GB
Support

API Reference

ParameterTypeRequiredDescription
idstringUnique identifier
namestringDisplay name
limitnumberMax results (default: 10)

Keyboard Shortcuts

ActionWindows/LinuxmacOS
CopyCtrl+C⌘+C
PasteCtrl+V⌘+V
UndoCtrl+Z⌘+Z

Changelog

VersionDateChanges
2.0.02024-01-15Breaking: New API
1.2.02024-01-01Added feature X
1.1.02023-12-15Bug fixes

Best Practices

  • Keep tables simple: If content is complex, consider alternatives

  • Use consistent alignment: Align source pipes for readability

  • Header row required: Always include a header row

  • Escape special characters: Use | for literal pipes

  • Limit columns: Wide tables are hard to read

  • Consider alternatives: Lists or definition lists may work better

  • Test rendering: Tables render differently across platforms

Markdownlint Rules for Tables

Rule Description

MD055 Table pipe style should be consistent

MD056 Table column count should match header

MD058 Tables should be surrounded by blank lines

Alternatives to Tables

Definition Lists (Some Parsers)

Term 1 : Definition 1

Term 2 : Definition 2

Bullet Lists with Bold Keys

Nested Lists

  • Item 1
    • Property A: Value
    • Property B: Value
  • Item 2
    • Property A: Value
    • Property B: Value

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

algorithmic-art

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

markdown-syntax-fundamentals

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

problem-solving

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

mermaid-diagrams

No summary provided by upstream source.

Repository SourceNeeds Review