kirby2-spad icon indicating copy to clipboard operation
kirby2-spad copied to clipboard

processing YAML formatted data

Open sonn-gamm opened this issue 6 years ago • 0 comments

hi!

i'm using kirby structure fields for some data, and spad simply processes them as one string, which because of the dash to divide each sub field, gets output as list items by markdown.

eg

----

Social:

-
  name: twitter
  url: ""
-
  name: facebook
  url: ""
-
  name: mixcloud
  url: ""
-
  name: instagram
  url: ""

----

Is this an example to handle by using a forEach filter? do you plan to include a structure field option in the plugin?

thanks, af

sonn-gamm avatar May 17 '18 13:05 sonn-gamm