# How to format shared code and formulas on discourse

#1

When including Stan code in your post it really helps if you make it as readable as possible by using Stan code chunks (stan) with clear spacing and indentation. For example, use

model {
vector[N] mu = alpha + beta * x;
y ~ normal(mu, sigma);
}


To include mathematical notation in your post put LaTeX syntax between two \$` symbols, e.g.,