Extracting card data from kanban boards #1338
Levalicious
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been using the kanban plugin and wanted to set up some interop between the board and my notes, so I've written some stuff for my card notes to automatically pull info from the board:
The first extracts any tags associated with the card that the note file corresponds to, and the second grabs the list that it's in.
I define a template for cards per board using these. To adapt the snippets for your own use, if you look, in the first block there's a "path/to/kanban/file" that you'll need to replace, and an equivalent one in the second block. The second also has a "kanban/file > " in the middle of it: replace kanban/file with the name (not the path) of your file. Make sure to leave the caret and the spaces around it, otherwise you'll pick up some of kanban's formatting.
Extending this further shouldn't be too difficult, but I think this is all I need at the moment.
Screenshot of the note of one of my cards:

Beta Was this translation helpful? Give feedback.
All reactions