WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] Want to include base64 media data (3 posts)

  1. Mike
    Member
    Posted 1 year ago #

    Hi
    I am using crayon outside the loop - no problem.

    I really like the plugin and I also managed to get it working with just CSS and HTML5 in an EPUB3 document.

    I am trying to modify the crayon that's outside the loop to include base64 inline image data, but this seems to kill the crayon.

    I am using the plugin EP Image Base64 Encode to encode the image.

    I tested this to make sure that it was the base64 data that was killing the crayon by rotating between the old crayon code and the code that included the base64. I know the base64 plugin is not the problem because I echoed the output just before the crayon process.

    I did a search of the code but only found a reference in util.class for email.

    Cheers
    Mike

    http://wordpress.org/plugins/crayon-syntax-highlighter/

  2. Mike
    Member
    Posted 11 months ago #

    I got this working but then I got very sick the next day, so I apologise for the delay.
    I added some modified code from EP Image Base64 Encode to code I wrote to create a Crayon outside the look in functions.php

  3. Mike
    Member
    Posted 11 months ago #

    Resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic