Within <$macro>
and <$deftag>
,
you can use several modifiers to tell hsc how to handle this macro/tag.
<$macro>
and <$deftag>
are:
/CLOSE
(short: /C
)
/ONLYONCE
(short: /1
)
/REQUIRED
(short: /R
)
/RECOMMENDED
(short: /RCMD
)
/MUST_BE_INSIDE
(short: /MBI
)
<LI>
must be used inside some sort of lists only,
therefor it's /MBI="ul|ol|dir|menu"
is used.
The vertical bar (``|
'') is used as a separator for multiple tags.
/NOT_ALLOWED_WITHIN
(short: /NAW
)
/MBI
, but this time tags that must not be
used before. For example, a nested usage of <A>
is not allowed, therefor /NAW="a"
is used.
<$deftag>
/AUTOCLOSE
(short: /AC
)
<P>
and <LI>
, which can be used as container
or single tag depending on the HTML version. Tags marked with this
modifier can not be nested.
/JERK
(short: /J
)
/LAZY
(short: /L
)
c
'' for ``CLASS:string
'',
``h
'' for ``HREF:uri
'',
``i
'' for ``ID:id
'',
``k
'' for ``CLEAR:bool
'',
``l
'' for ``LANG:string
'',
``m
'' for ``MD:string
'',
``s
'' for ``SRC:uri
'',
``w
'' for ``NOWRAP:bool
''./LAZY="cil"
.
/OBSOLETE
(short: /O
)
<LISTING>
.
/SKIPLF
(short: /S
)
/SPECIAL
(short: /SPC
)
<!>
(for SGML comments).
/WHTSPC
(short: /W
)
<A>
, <TITLE>
, headings and physical/logical
styles.
To define an end macro, don't use /CLOSE
, but define
the macro a second time, with a "/" as the first character
of its name. For examples, see the section about <$macro>
.