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:
|
1 2 3 4 5 6 7 8 9 10 |
<?php // A sample class class Human { $age = 0; function birthday() { $age++; echo 'Happy Birthday!'; } } ?> |
