When to use -format and when not to

When you use the -format option with the CMS text, the text will get processed into HTML through a Markdown processor. Because of this, there are many times that we simply want the raw text that was added into the CMS with zero HTML markup added. Especially if we are trying to insert text into 3rd party stacks.

For example, let’s say that we wanted to manage the text from a Header stack. The header stack itself will take care of setting the proper H tag for us and any other formatting that it supports. All we want to do is manage the text that is displayed by it. Therefore, in this instance, you would not use the -format option.

We cannot garuantee styles will be properly inherited from a parent stack when using -format.