• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

markdown-table-formatter-z

A markdown plugin to format tables, improved.
mDuo13
2.9.2 1,193
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Markdown Table Formatter Z

A markdown plugin to format tables.

Forked from fcrespo82's version to add a new feature. Based on the awesome Improved Markdown table commands for TextMate work from Dr. Drang (@drdrang)

Changelog

Usage

There are two basic ways of using this plugin.

  1. Select the table you want to format and them hit alt-shift-T to format it.
  2. If you didn't select any table the entire document (default) will be scanned, by the plugin, for tables and format all of them.

Settings & Keybindings

Settings image

  • Limit Last Column Padding (New)

    In tables where the last column has extra long cells, avoid padding the short cells or table headers beyond the editor's preferredLineLength?

Tips

Enable Markdown Table Formatter for the current file type

To enable Markdown Table Formatter for your current file type: put your cursor in the file, open the Command Palette ⌘ (CMD)+⇧ (SHIFT)+P, and run the Editor: Log Cursor Scope command. This will trigger a notification which will contain a list of scopes. The first scope that's listed is the one you should add to the list of scopes in the settings for the Markdown Table Formatter package.

How to style the tables correctly if you use non-monospace fonts

atom-text-editor::shadow .table.gfm {
    font-family: monospace;
}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by