|
|
Configuration
Configuration options for code blocks.
Configuration option
These options allow you to individually configure text blocks.
| nogutter | Will display no gutter. |
| nocontrols | Will display no controls at the top. |
| collapse | Will collapse the block by default. |
| firstline[value] | Will begin line count at value. Default value is 1. |
| showcolumns | Will show row columns in the first line. |
The options are passed together with the alias and are separated by a colon : character.
<pre name="code" class="html:nocontrols:firstline[10]"> ... some code here ... </pre>
Sign in to add a comment

It would be nice if you could set defaults for gutter, controls, collapse, and columns and then if say you disabled them you could reenable them with: <pre name="code" class="html:controls:gutter">
Can you make the "collapse" function a toggle? And is there a way to make the code boxes overflow beyond a certain size, say 25 lines of code?
tinymce