Support » Plugin: Prettify GC Syntax Highlighter » [Plugin: Prettify GC Syntax Highlighter] great plugin, a few small quirks & requests

  • Resolved Matthew W

    (@thecoup)


    hello. thanks for the great plugin.

    3 things would make this even better:

    1. most importantly: only load .css and .js on pages with class=”prettyprint”
    2. add a shortcode so people can add this in html and visual editor. [prettyprint]code code[/prettyprint]
    3. add a background for people with a site that has light text on a dark background.

    thanks for all of your work!

    http://wordpress.org/extend/plugins/prettify-gc-syntax-highlighter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author lexn

    (@lexn)

    1. css and js files should be cached by the browser, so this should not be a problem. Currently the plugin uses WP filter and does not have direct access to the page content, so this feature will require a complete rewrite.

    2. Adding shortcode is a good idea, will be in the next release.

    3. You can already do background using styles, I will add it to the shortcode.

    Thanx for the feedback.

    Plugin Author lexn

    (@lexn)

    Added shortcode, though it’s somewhat finicky due to WP auto-formatting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Prettify GC Syntax Highlighter] great plugin, a few small quirks & requests’ is closed to new replies.