WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] Highlighting code in post should show up in the editor (10 posts)

  1. chovy
    Member
    Posted 1 year ago #

    When I highlight a block of code in a post, it would be nice if the editor was pre-populated with that code block when I clicked "Crayon" -- saves me the extra step of having to cut the block from the post and paste it into the editor manually.

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

  2. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

  3. chovy
    Member
    Posted 1 year ago #

    Great, when will it get released so I can test?

  4. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    If I release it without testing then others will update to the buggy version, so testing the beta release is preferred. Download the zip and replace the existing plugin directory with that one.

    https://github.com/aramkocharyan/crayon-syntax-highlighter/downloads

  5. chovy
    Member
    Posted 1 year ago #

    Sorry, i was busy past week. I will test now.

  6. chovy
    Member
    Posted 1 year ago #

    I don't see any downloads.

  7. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    See https://github.com/aramkocharyan/crayon-syntax-highlighter and click the zip icon on the left.

  8. chovy
    Member
    Posted 1 year ago #

    doesn't work

    I just typed "some code here" in a post, highlighted it and clicked "crayon" but the crayon code area was empty in the popup.

    I think the problem is as soon as you click "crayon" you've lost the highlighting in the post.

  9. chovy
    Member
    Posted 1 year ago #

    Sorry, i didn't unzip the -master correctly. It works as expected. Thanks. I will revert back and wait for an official update.

  10. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    Awesome!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags