You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating an Angular app that interfaces with my Wordpress site through the JSON API plugin. I would like to make use of Crayon Syntax Highlighter outside of the Wordpress ecosystem. I pulled in the JS files but had a console error saying I needed to configure my syntax highlighter settings. Is there any way to do this outside of Wordpress?
Crayon syntax highlighter seems to generate a lot of extraneous HTML markup, and doesn't seem to conform to using pre or code tags so using any other JavaScript syntax highlighter library on existing Wordpress markup generated by Crayon seems to be a no-no
The text was updated successfully, but these errors were encountered:
I am creating an Angular app that interfaces with my Wordpress site through the JSON API plugin. I would like to make use of Crayon Syntax Highlighter outside of the Wordpress ecosystem. I pulled in the JS files but had a console error saying I needed to configure my syntax highlighter settings. Is there any way to do this outside of Wordpress?
Crayon syntax highlighter seems to generate a lot of extraneous HTML markup, and doesn't seem to conform to using
pre
orcode
tags so using any other JavaScript syntax highlighter library on existing Wordpress markup generated by Crayon seems to be a no-noThe text was updated successfully, but these errors were encountered: