Syntax #
s.syntax.keyword
Purpose #
The s.keyword annotation is used to tag a span element as being an exact word or phrase used in the program. This content will be included as a part of a syntax diagram.
The DITA tag applied by this annotation is <kwd>, which is a specific variant of the <keyword> tag. See s.keyword for more information.
Example #
The following is an example of a time when you might want to use the annotation
The following is an example of a rule that will apply the annotation
The following is the DITA XML output for the rule:
>>-<kwd>2</kwd>–<oper>*</oper>–<var>user_input</var>–<delim>=</delim>