Convert styles to markup