I’ve been looking in the cheatsheet to convert a string to a content text file and then save it to a folder. Could be done with PHP but maybe there are simpler ways?
I would like it to work kind of like this if possible
My first text string looks like this (field key text):
**Bold text** This text has the field key "text".
My second text string looks like this (field key email):
**Bold text** This text has the field key "email".
To valid Kirby yaml:
Hopefully there is some function that works like this?
Both return a page object, the only difference is where the page is created, i.e. on the same level or at a subpages level, i.e. if you want to create children of e.g. the blog page, you can use page('blog')->children()->create($parameters)