valign

Homepage: https://github.com/casouri/valign

Author: Yuan Fu

Updated:

Summary

Visually align tables

Commentary

This package provides visual alignment for Org Mode, Markdown and
table.el tables on GUI Emacs.  It can properly align tables
containing variable-pitch font, CJK characters and images.  In the
meantime, the text-based alignment generated by Org mode (or
Markdown mode) is left untouched.

To use this package, type M-x valign-mode RET.  If you want to
align a table manually, run M-x valign-table RET on a table.  If
you want to automatically enable this mode, add `valign-mode' to a
major mode hook like `org-mode-hook'.

For table.el tables to work with valign, each cell has to have at
least one space on the right and no space on the left.  You can use
ftable.el to auto-layout the table for you.

TODO:

- Hidden links in markdown still occupy the full length of the link
  because it uses character composition, which we don’t support.

Customization

valign-fancy-bar               If non-nil, use pretty vertical bars.
valign-not-align-after-list    Valign doesn't align after these
                               commands.
valign-signal-parse-error      If non-nil, emit parse errors.
valign-max-table-size          Valign doesn't align tables of size
                               larger than this value.
valign-table-fallback          Face for tables that are not aligned
                               because of their size.

Uninteresting variables

valign-lighter
valign-box-charset-alist

Dependencies