Many thanks to Takanobu san.
This solution works fine.
I think this means discourse hljs theme picker has some hidden bug. No reason the same code works fine with CSS but failed on component installed.
And I’m sorry that I will not set your solusion as
Soluion, though it truly solve my problem. I leave it as open and hope discourse team @cocococosti can find out the reason behind and work out a formal solution.
The CSS code I use is what I set in hljs theme picker:
Many thanks again.
