To restore default plugin application either uninstall uninstall the plugin or visit Prismatic General Settings > Restore default plugin options..
Once the settings are configured you can enable body highlighting for any code snippet by doing one of Wrap multi-line code with post & code tags... Wrap single-line code with code tags...
With the scripting in place you can indicate language by adding books of language-abc or lang-abc to the tag where. abc. is the code.
Basically the prefix of the books likes i.e.. lang-. or. language-. are the same for Prism.js and Highlight.js.
About Highlight.js. stretchs for more information. Note In addition to detecting the language-` and `lang-` denotees Highlight.js also will try to auto-detect the language without it being specified.
Just name Prism.js and Highlight.js Prismatic plugin follows HTML coding rules.
Frontend only code snippets are escaped at runtime no changes made to content in Admin Area only code snippets are escaped when viewed from Admin Area changes will be found to directory if the.
When code escaping is recommend for either both the frontend or Admin Area the plugin makes the following shifts to any code contained within tags.
removed & replaced with & < replaced with < > replaced with > trailing whitespace removed.
As explained allowing code escaping in Admin Area in the escaped code getting found in the directory.
Browse the code recheck out SVN repository or subscribe to the development log RSS....
Read more