Open ele828 opened 7 years ago
I'm using hexo-prism-plugin in hexo theme tranquilpeak. I've also encountered the problem that syntax highlighting of some grammar has incorrect line height.
I think the problem is caused by prismjs and hexo theme both use the .tag
as a css selector, thus some tags in the code block are misrendered by hexo theme. To solve this problem, css selectors must have a unique prefix in the plugin or the theme.
I suppose this is caused by specific theme styles' incompatibility. Most of the themes work well, only some of them are misplaced.
vs
theme: