Skip to content

An Atom text editor package that supports left aligning, centering, right aligning, and justification of text between the left side of the editor and the Preferred Line Length setting.

License

Notifications You must be signed in to change notification settings

JosephTLyons/text-align

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-align

text-align version badge

text-align download badge

text-align stars badge

text-align forks badge

An Atom text editor package that supports left aligning, centering, right aligning, and justification of text between the left side of the editor and the Preferred Line Length setting.

text-align in Action:

Action

Intended Use:

  • This package aims to be useful when aligning items in documentation or any other plain text files, but you may find other uses for it.

Commands Available:

  • left-align
  • center-align
  • right-align
  • justify
  • dejustify

Rules:

  • If no selection is made, text on the line of the cursor is aligned.
  • If a selection is made, all lines of text within the selection range will be aligned.
  • Any blank lines will be ignored.
  • Any lines exceeding the Preferred Line Length setting will be ignored when running any of the following commands:left-align, center-align, right-align, or justify.
    • Note: dejustify does not follow this rule and will still process lines of text that are longer than the Preferred Line Length setting.

About

An Atom text editor package that supports left aligning, centering, right aligning, and justification of text between the left side of the editor and the Preferred Line Length setting.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published