Updates doc formatting.
Switch to using spans.