{% capture nameOfVariableToCapture %}any markdown here...{% endcapture %} Content before variable. {{ nameOfVariableToCapture }} Content after variable.