Home › Forums › Support › PrismJS with WordPress & GeneratePress This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 4, 2020 at 3:28 pm #1154684 Scott I wanted to add PrismJS to WordPress for syntax highlighting as shown here. My only question is, should I use the wp_enqueue_style and wp_enqueue_script to add the css and js files or should I just use a GeneratePress Element? Or does it matter? February 5, 2020 at 3:03 am #1155113 DavidStaff Customer Support Hi there, I don’t think it really matters BUT the hardcore WP geeks will say the wp_enqueue_ functions is the ‘proper’ way of doing it. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In