A configuration example needs the value “tag” with one space on each side. CommonMark trims one space from both edges of a code span when both are present and the span contains a non-space character.

` tag `
`  tag  `

Two source examples show one and two spaces around the word tag.

Example notation. The dots in the illustration represent spaces; the source uses actual spaces.

The first example renders as three characters. The second leaves one edge space on each side, for five characters. An all-space span follows a different rule.

Make the result visible to readers

Explain the intended spacing beside the example. If exact copying matters, paste the rendered value into a plain-text editor that can show whitespace or count characters. Check the actual destination because a copying or export step may treat those spaces differently.

A rendered comparison shows three characters for tag and five when both edge spaces survive.

Example verification. Count the copied characters if spaces matter to the task.

Use a fenced code block or a clearly explained visible placeholder if the inline display makes the edges hard to check.

CommonMark’s code span rules.