[Help] {{tags}}
separator in --format
#343
-
Verify
How can we help you?When list a note with multiple tags like so: zk list --format "{{title}}, tags: [{{tags}}]" notes with multiple tags have no separators between the tags. For instance, the following note: ---
title: Test note
tags: [foo, bar, baz]
--- gets formatted like this:
I would like it to be formatted like this:
How do I input a separator like |
Beta Was this translation helpful? Give feedback.
Answered by
mickael-menu
Aug 30, 2023
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mawkler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tags
is a list of strings, you can iterate over it:You can learn more about the templating system here.