treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Prettify not working in Wordpress

  • So the title explains my dilemma. I can't provide code because everything is local. I just want to tell you that I've tried doing all the instructions on the site, and adding all the files, and I've tried two WordPress plugins. If anyone knows how to fix this, please help!
  • Any console errors?
  • Nope, just displays as unstyled <pre> tags.
  • Hmmmm sounds like it's not even firing then. I can't remember if it was prettify that I was using, but one of those little plugins requires a class to be on the <pre>.
  • Yeah, it's class="prettyprint"