d0c-s4vage / lookatme

An interactive, terminal-based markdown presenter
https://lookatme.readthedocs.io/en/latest/
MIT License
2.06k stars 59 forks source link

`--single` option doesn't work well with progressive slides #182

Closed d0c-s4vage closed 1 year ago

d0c-s4vage commented 1 year ago

Describe the bug

The --single option doesn't work well with progressive slides. The separated slides from the <!-- stop --> comments are still left separate.

To Reproduce

Save this in test.md:

test
<!-- stop -->
hello

Run lookatme --single test.md and see that there are still two slides.

Expected behavior Only one slide should have been rendered

Additional context

Is also a problem in the 3.0 branch