Branch: Tag:

2003-04-01

2003-04-01 18:24:23 by Martin Nilsson <mani@lysator.liu.se>

Document @expr{@} and the changes to @code.

Rev: refdoc/keywords.txt:1.11

340:   XML: <b>...</b>   _______________________________________________________________________________    - Keyword: @code{ ... @} + Keyword: @code ... @endcode   Description: Encapsulates a code block.   Children: Text that will be rendered as program code. - Examples: @code{ + Examples: @code    int fac(int i) {    if(i<2) return i;    return i*fac(i-1);    } -  @} +  @endcode      XML: <code>...</code>   _______________________________________________________________________________
399:    </elem>   _______________________________________________________________________________    + Keyword: @expr{ ... @} + Description: Mark up a code expression. + Children: Text that will be rendered in a fixed font. + Examples: +  The expression @{i=i++@} is a noop. +  + XML: <expr>...</expr> + _______________________________________________________________________________ +    Keyword: @i{ ... @}   Description: Italics.   Children: Text that will be rendered in italics.