Field access with template pipes #10800
Answered
by
jgm
frederik-elwert
asked this question in
Q&A
-
I have problems with using pipes and access of object fields in the pandoc templates. Here’s a sample document: ---
author:
- name: Foo
- name: Bar
---
Test Now in a template, I want to access the last author, which should be possible using the
Now I could solve this by using a partial:
name.txt:
But I wondered if something like this is (or should be) possible with a single template? |
Beta Was this translation helpful? Give feedback.
Answered by
jgm
Apr 23, 2025
Replies: 1 comment
Answer selected by
frederik-elwert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See jgm/doctemplates#30