---
title: s.syntax.delimiter
description: "## Syntax **s.syntax.delimiter**   ## Purpose The s.syntax.delimiter annotation is used to tag a span element as being the character at the beginning or end of a syntax diagram section. Commonly used delimiters are - parentheses - commas - tabs…"
url: "https://www.stilo.com/docs/migrate/programming/s-syntax-delimiter/"
updated: "2023-12-18"
category: Annotations / Programming
tags:
  - Annotations
---

# s.syntax.delimiter

## Syntax

**s.syntax.delimiter**

 

## Purpose

The s.syntax.delimiter annotation is used to tag a span element as being the character at the beginning or end of a syntax diagram section. Commonly used delimiters are

- parentheses
- commas
- tabs
- vertical bars

## Examples

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

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-s.syntax.delimiter0.png)

 

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

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-s.syntax.delimiter1.png)

The following is the DITA XML output for the rule:

>>-<kwd>2</kwd>--<oper>*</oper>--<var>user_input</var>--**<delim>=</delim>**
