Be careful, if copying and pasting shortcodes from the demo or elsewhere, not to accidentally include <pre> tags as this will means formatting is ignored.
Generally it is best to manually input the shortcode rather than copying and pasting to avoid this and other issues.