highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.73k stars 3.6k forks source link

(Angular) A large number of rows are not displayed. #2722

Closed Arap919 closed 4 years ago

Arap919 commented 4 years ago

I wanted to show responsive table markup in storybook but I've got a trouble. All lines of code are not displayed. Simple example is here https://stackblitz.com/edit/ngx-highlight-js-akewwt?file=src/app/app.component.html

joshgoebel commented 4 years ago

Just at a very quick glance this looks like some bug with your application, not our library. Please provide a JSFiddle that reproduces this problem with ONLY Highlight.js and the snippet of code in question to rule out the possibility that it's some bug/problem with your Angular setup.

You can fork my fiddle:

https://jsfiddle.net/ajoshguy/s6xzmLjh/

joshgoebel commented 4 years ago

Closing due to inactivity. If an isolated reproducible example can be provided then this can always be reopened.