fix: Support for all languages; Injecting scripts and stylesheets in head tag instead of body.
I have used node-prismjs module(a nodejs adapater for prismjs) to load all languages. This will fix the language issue we were having with my previous #8 pull request.
Also, I have hooked in to filter(after_render:html) for injecting the prismjs scripts and stylsheets in to head tag instead of inside body.
known issue: The script tag and stylsheet tags are added in to head tag twice.
fix: Support for all languages; Injecting scripts and stylesheets in head tag instead of body. I have used node-prismjs module(a nodejs adapater for prismjs) to load all languages. This will fix the language issue we were having with my previous #8 pull request.
Also, I have hooked in to filter(
after_render:html
) for injecting the prismjs scripts and stylsheets in tohead
tag instead of insidebody
.known issue: The script tag and stylsheet tags are added in to
head
tag twice.