I am creating a documentation template using Statamic. I want to be able to add new fields as and when I wish in each page of the Control Panel.

So, I know what different pages I have got, but I want to create different types of fields so that when I am adding content to the pages of documentation, I want the ability to add a new code snippet, or add a new paragraph, or a new header, etc. Is this possible?

I was also wondering if there is a type of code snippet field which displayed whatever code you put into the CP as actual code styled like code? So a textarea but specifically as code. Or would I have to create a new field which is placed in a div in the template, and then style everything that is in that div to be like code...?

Hope this all makes sense, Thanks.

Answered by Jack McDade! Go to answer.