This tag simplifies writing html examples. Within the <doc>
tag { will be replaced by &< and } by &>. Thus eliminating the
need to write < and > manually.
Attributes
- pre
-
Encloses the section within a <pre> tag as well.
Example
<doc pre>
{table}
{tr}
{td} First cell {/td}
{td} Second cell {/td}
{/tr}
{/table}
</doc>
<table>
<tr>
<td> First cell </td>
<td> Second cell </td>
</tr>
</table>
|