View Categories

s.command-name

< 1 min read

Table of Contents

Syntax #

s.command-name

 

Purpose #

The s.command-name annotation is used to tag a span element as being the name of a software command. This is used to tag mentions of the command name within a sentence.

Examples #

The following is an example of a time when you might want to use the annotations

 

The following is an example of a rule that will apply the annotation

The following is the DITA XML output for the rule:

<p>The <cmdname>cn</cmdname> command is used to create a new file. By default, this will create a new file with the following file path:</p>