Minimizing Code in Crayon

In the latest version of Crayon, you can choose to hide the code until the user expands it. This doesn’t apply to inline code. You can enable/disable it for individual Crayons using the Tag Editor.

If a title is set in the Tag Editor it is used in place of “Click To Expand Code”. Here’s a live demo:

 

  • Kevin

    Really fantastic project! Is there support for the user to minimize the code block once they’ve expanded it on the page? I didn’t see it, but that doesn’t mean it isn’t there. Thanks!