Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support specifying trailing indents for div columns #77

Open
roryokane opened this issue May 3, 2020 · 0 comments
Open

Support specifying trailing indents for div columns #77

roryokane opened this issue May 3, 2020 · 0 comments

Comments

@roryokane
Copy link

Support for this would be required to implement yargs/yargs#1640.

The idea is to add support for trailing indents to the div function.

One possible API would be supporting an option multilineIndents for each column passed to div. That option would take an array of two numbers [leadingIndent, trailingIndent] with these meanings:

  • leadingIndent (number): how many spaces to add to the start of the first line in that column
  • trailingIndent (number): how many spaces to add to the start of each line after the first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant