My favorites | Sign in
Project Home Downloads Wiki Source
Search
for
Configuration  
Configuration options for code blocks.
Documentation
Updated Feb 4, 2010 by alex.gor...@gmail.com

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>
Comment by jakewhar...@gmail.com, Nov 14, 2007

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">

Comment by osuwebac...@gmail.com, Feb 27, 2008

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?

Comment by ilyask...@gmail.com, Sep 18, 2008

How to eliminate row numbers while copying? Even though we set as 'nogutter' the problem still exist. Numbers get copied which is very annoying while working with codes into our project.

When all selected and copied it shows row numbers. When some lines selected it shows hash (#).

Could you fix it?

Comment by chrismho...@gmail.com, Sep 18, 2008

where did you have to add the collapse code for it to function properly?

Comment by ori...@gmail.com, Sep 25, 2008

+1 on jakewharton's comment: allow positive and negative markups to override a default "nogutter" for example.


Sign in to add a comment
Powered by Google Project Hosting