Hi!

We are using rather complicated templates to display certain information about dependencies.
These information can be exported in yaml files and looks like the following:

---
dependencies
:
  external
:
    hardware
:
   
- Description: Text here....
     
Dependency On: Text here....
     
Date Required: Text here....
     
Dependency Owner: Text here....
     
Color: Text here....
     
Status: Text here....
     
Last Updated: Text here....
     
State: Text here....
...

This is a perfectly valid and well-formed yaml document.

Now, the best thing would be if I could simply loop over these attributes without having to specify them directly.
The next best thing would be if I could access them via the usual method:

$for(dependencies.external.hardware)$
$if
(dependencies.external.hardware.Description)$\textbf{Description:} & $dependencies.external.hardware.Description$ \\ $endif$
$endfor$


The issue are with the keys that contain spaces. I can't find a way to access them at all.

I tried it the following ways:
$if(dependencies.external.hardware.Dependency On)$
$if
(dependencies.external.hardware.Dependency\ On)$

Any suggestion?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/92055fd0-049b-4943-a51a-2eb0905b59ca%40googlegroups.com.