How to Use Google Code Prettify with WordPress for Syntax Highlighting

0
16

Default CSS settings:

pre.prettyprint { margin: 5px; padding: 10px; max-height: 300px; overflow: auto; background-color: #f8f8f8;}

How to remove border:

pre.prettyprint { border:0; margin: 5px; padding: 10px; max-height: 1024px; overflow: auto; background-color: #f8f8f8;}

GitHub

https://github.com/google/code-prettify

WP Code Prettify

WP Code Prettify

LEAVE A REPLY

Please enter your comment!
Please enter your name here