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

Reflow text in lists? #272

Open
rauschma opened this issue Feb 27, 2024 · 0 comments
Open

Reflow text in lists? #272

rauschma opened this issue Feb 27, 2024 · 0 comments

Comments

@rauschma
Copy link

rauschma commented Feb 27, 2024

At the moment, marked-terminal doesn’t seem to reflow text in lists:

marked-terminal

It’d be great if text wrapped like this:

Unordered list:

* A single unordered line that
  continues here

Ordered list (takes width of longest number into consideration):

1.  A single ordered line that
    continues here
···
10. A single ordered line that
    continues here

Additional suggestion:

  • An option maxWidth: If the current width of the terminal is smaller than maxWidth then that width is used instead.
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