\\begin{CD}
...code here...
\\end{CD}
@<<< left arrow
@AAA up arrow
@VVV down arrow
@. empty arrow.
@>>> right arrow
@= horizontal equals
@| vertical equals
$$ \begin{CD} @>>> @<<< @AAA @VVV @= @| @. \end{CD} $$
\\begin{CD}
@>>> @<<< @AAA @VVV @= @| @.
\\end{CD}
$$ \begin{CD} 1 @<<< 2 @= 3\\ @. @| @VVV\\ @. 4 @= 5 \end{CD} $$
\\begin{CD}
1 @<<< 2 @= 3\\\\
@. @| @VVV\\\\
@. 4 @= 5
\\end{CD}
Upper
$$ \begin{CD} \text{A} @>label>> \text{B} \end{CD} $$
\\begin{CD}
\\text{A} @>label>> \\text{B}
\\end{CD}
Lower
$$ \begin{CD} \text{A} @>>label> \text{B} \end{CD} $$
\\begin{CD}
\\text{A} @>>label> \\text{B}
\\end{CD}
Left