Neatware Header
Home   Products   Forums   Partners   Buy   Company   Contact   Blog   

    Text

  1. Newline

    __br starts a new line.

  2. Paragraph

    _p command specifies a paragraph.

    _p "align='(left|right|center)' mode='(wrap|nowrap)'"
      a
      anchor
      br
      do
      em|strong|b|i|u|small|big
      fieldset
      img
      input
      select
      table
    p_
    

    'align' attribute specifies tha alignment of text. The default value is left. If 'mode' attribute is wrap, the line break is inserted to form multiple lines in word-wrap. Otherwise, if 'mode' attribute is nowrap, the line is not wrapped. If there is no 'mode' attribute specified, the wrap mode is inheritated from the previous paragraph. wrap is the default value of the first paragraph in a card.

  3. Table

    Together with _tr and _td commands, _table command defines a table in a card.

    _table "title='value' align='alignment' columns='number'"
      tr +
    table_	
    

    'title' attribute specifies table's title. 'align' attribute specifies the alignment of text for column. The center alignment has the value "C", left alignment has the value "L", right alignment has the value "R". "LRC" represents that the first column has the alignment left, the second column has the alignment right, and the third column has the alignment center. The default alignment is left for left-to-right language.

    'columns' attribute specifies the number of columns of a table. It is an attribute required for _table command.

    _tr command specifies a table row. The row may be empty. Except id and class attributes, there are no extra attributes.

    _tr
      td +
    tr_
    

    _td command specifies a table data cell. A data cell may be empty.

    _td ""xml:lang='lang'"
      a
      anchor
      br
      img
      em|strong|b|i|u|small|big
    td_
    
  4. Marking

    Snaml for Tcl/WML has the same rule for white space. That is the WML browser will convert multiple contiguous spaces, returns and lines into a single space.

    _em        emphasis
    _strong    strong emphasis
    _i         italic
    _b         blod
    _u         underline
    _small     small font
    _big       big font