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

Hard breaks on lists makes to a new line when rendering #226

Open
ben-grande opened this issue Aug 15, 2024 · 0 comments
Open

Hard breaks on lists makes to a new line when rendering #226

ben-grande opened this issue Aug 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ben-grande
Copy link

Describe the bug
A clear and concise description of what the bug is.

I use hard breaks on markdown to indent lists to respect a column limit, it renders okay on pandoc or github, but lookatme doesn't handle hard breaks on lists.

To Reproduce

Steps to reproduce the behavior:

Don't let the slideshow be very wide, set the terminal window to 80 columns.

Content:

Normal text paragraphs with hard breaks on the content should not brake into
multiple lines and it does work perfectly even in case the slideshow window is
not wide enough.

* List items with hard breaks on the content should not brake into multiple
  lines but it does in case the slideshow window is not wide enough.
Normal text paragraphs with hard breaks on the content should
not brake into multiple lines and it does work perfectly even
in case the slideshow window is not wide enough.

• Indented list content that should not brake into multiple
   lines but it does
   in case the slideshow window is not wide enough.

Expected behavior
A clear and concise description of what you expected to happen.

Lookatme rendering should ignore hard breaks in list and concatenate as much as necessary to a single line, then break into multiple lines, making it an easier to read text:

Normal text paragraphs with hard breaks on the content should
not brake into multiple lines and it does work perfectly even
in case the slideshow window is not wide enough.

 • Indented list content that should not brake into multiple
   lines but it does in case the slideshow window is not
   wide enough.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Debian 12
  • Lookatme Version 2.5.4

Additional context
Add any other context about the problem here.

@ben-grande ben-grande added the bug Something isn't working label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant