Classes

In Textile:

p(class). Something here.

This creates a paragraph with the class class. Some classes that come with Cyco:

  • note: a notation
  • troubleshoot
  • extra
  • indent1 to indent6: indent 4 characters each
  • figure: used to format images as figures
  • caption: caption for a figure

The indent classes give more indentation than Textile’s built-in indenting mechanisms, like:

p((. This indents twice, once character width each time.

To add borders to tables:

table(table-full-border).
| 1 | 3 |
| 2 | 2 |
| 3 | -5 |

To add line numbers to code:

cyco format-code 1 lang-vb
Code here
/@@cyco format-code 1 lang-vb

Change the line number start value and language to suit.

Editors: 
kieran

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
Prove that you are sentient.
1 + 6 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.