Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Crayon outside of Wordpress #310

Open
adaam2 opened this issue Oct 24, 2015 · 0 comments
Open

Using Crayon outside of Wordpress #310

adaam2 opened this issue Oct 24, 2015 · 0 comments

Comments

@adaam2
Copy link

adaam2 commented Oct 24, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant