format-table

Align markdown tables and ASCII box diagrams in files.

3|1|Updated Feb 4, 2022
One-click install
npx skills add https://github.com/4IRL/urls4irl --skill format-table-4irl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: format-table
Source: https://github.com/4IRL/urls4irl/tree/main/.claude/skills/format-table
Command: npx skills add https://github.com/4IRL/urls4irl --skill format-table-4irl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the common issue of misaligned tables and diagrams in markdown files, improving readability and presentation.

Core Features & Use Cases

  • Alignment Correction: Checks and automatically aligns markdown tables to have consistent vertical borders.
  • Diagram Normalization: Detects and adjusts ASCII box diagrams in code blocks for uniform line widths.
  • Use Case: When reviewing technical documentation or architecture diagrams, use this Skill to fix formatting inconsistencies and ensure clarity for collaborators.

Quick Start

Run the script to check and fix alignment issues in your markdown files containing tables or diagrams.

Frequently Asked Questions about format-table

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix misaligned markdown tables in my documentation?

You can fix misaligned markdown tables by running a script that scans your documentation and adjusts column borders for consistent vertical alignment. This enhances visual clarity and readability for technical reviews.

What is the best way to align ASCII box diagrams in code blocks?

Aligning ASCII box diagrams involves using a text processing tool that detects code blocks and normalizes their line widths. This ensures uniform ASCII diagram formatting and consistent visual presentation within markdown files.

Can I automatically format both markdown tables and ASCII diagrams in one pass?

Yes, you can automatically format both markdown tables and ASCII diagrams in a single pass. The process scans markdown files to correct table alignment and normalize diagram line widths simultaneously, improving overall documentation presentation.

Does this markdown table alignment method require external dependencies?

No, this markdown table alignment method does not require external dependencies. It utilizes built-in regex and text processing capabilities to scan, analyze, and modify formatting sections directly within your markdown files.

When do I need to normalize ASCII diagrams in markdown files?

You need to normalize ASCII diagrams in markdown files when maintaining technical documentation or architecture diagrams. Normalizing adjusts line widths to fix formatting inconsistencies, ensuring visual clarity for collaborators during reviews.