How to eliminate the preview-like thing that will appear after the output is finished?

Like this

** chapter 1 ends here.**

To be continued…

Chapter 2: The First Dance