I’m making the personal blog which using “Crayon Syntax Highlighter” plugin to highlight my code samples. I realized when I move to pages by pjax transition, my codes are not styled properly by this plugin. How can I fix it?
Thank you for using our theme. I investigated and it’s because “Crayon Syntax Highlighter” needs to load its style and js on the page where it’s used. So it will be solved by adding the lines below at Pjax Blog Settings > Pjax > “Replace Tags in Html Head Tag”.
—— add these lines at the end of the textarea —– script#crayon_js script#lazy-load-crayon