quoth icon indicating copy to clipboard operation
quoth copied to clipboard

[Feature Request] - embed from multiple files

Open rapatel0 opened this issue 3 years ago • 2 comments

For case where you have multiple files with the same structure, it would be nice to aggreagate across multiple files like a query.

Example with 3 files together.

2022-01-31
- Nothing cool up here
- something cool below
  - Things are awesome
- something unrelated
- more unrelated
2022-02-01
- Nothing cool up here
- something cool below
  - Things are awesome2
- something unrelated
- more unrelated
2022-02-03
- Nothing cool up here
- something cool below
  - Things are awesome3
- something unrelated
- more unrelated
path: 
  - [[2022-01-31#-something cool below]]
  - [[2022-02-01#-something cool below]]
  - [[2022-02-03#-something cool below]]
display: embedded
join: "- "

would render as

  - Things are awesome
  - Things are awesome2
  - Things are awesome3

rapatel0 avatar Jan 31 '22 03:01 rapatel0

I thought you might bring this up 😄.

I'm not sure yet if this is something on the roadmap. Definitely a lot of the assumptions in the code as of now are based around one file per embed. It raises some questions about how to handle multiple files with some of the other embed options. How would show: author, title behave? Or having ranges that are present in some files but not others?

As I'm working on things, I'll have to keep an eye out for whether or not the assumption about one file per embed is a necessity or not.

erykwalder avatar Jan 31 '22 15:01 erykwalder

no worries. I can wrap it in a templater for loop for a little bit so no rush

rapatel0 avatar Feb 04 '22 12:02 rapatel0