Code Viewer Cut-Off Issue in Interactive Book: Seeking Solution for 'CodeHighlighter' Integration
I am creating an interactive book, and during the creation, I realized I needed a code viewer. I did some research and found the "CodeHighlighter" library. I managed to integrate it into my book; however, when I insert certain lines of code, the code viewer gets cut off, showing only the first and half of the second line. It is not possible to view the entire code. I also noticed that this happens when you access the book for the first time or reload the page. But if you click on another chapter of the book and then come back to the same chapter, the code is displayed completely.