So, I don't yet know how to use for macros as I'm really new, like yesterday I signed up, so I changed the first macro to an if since I know how to use that one.
(if: (history:) contains "passage2")[(print: (passage: "passage2"))]
this is what I used, when using history you need a contains modifier so it knows what it's looking for.
I couldn't get the display to work, it just displayed a link to the passage. I don't know why that is, but I'm new to this so maybe I missed something in the explanation.
I got some weird errors with this in which it printed, but, technically, it worked.
"
source | this is passage 2 [[passage1]] |
tags | `` |
name | passage2 " |
I don't exactly know what happened here, but hopefully someone sees this and can clear it up, if not, you can make another question about the error if you can't get around it