longform icon indicating copy to clipboard operation
longform copied to clipboard

Feature to extract block embeds during compile

Open djsudduth opened this issue 1 year ago • 5 comments

Hello, I would like to request a feature step that would extract any block embed text within any of the draft's notes into the final compiled document. I tend to write with sections and sometimes my sections are block embeds into a new wrapper note with more writing. Then, when I need to compile a draft I want those to be extracted rather than block embeds in the final manuscript. Today, I have to manually copy-paste each embed in the final manuscript into the parent manuscript document.

Thanks!

djsudduth avatar Aug 08 '22 16:08 djsudduth

Makes sense! Thanks, I'll take a look, not in 2.0 but in a future release.

kevboh avatar Aug 08 '22 17:08 kevboh

@kevboh any updates on this? I'm basically stuck not using longform without that extraction - sure would help!!

djsudduth avatar Dec 21 '22 22:12 djsudduth

@djsudduth I haven't started on this. If you're comfortable in code you should be able to do this with a custom step—if not, I'll be able to take a look soon, but I can't give you a precise date due to holiday obligations.

kevboh avatar Dec 22 '22 13:12 kevboh

I did take a look at the code. Not sure how to step into block embeds to get that embed note data. I'll play around with it.

djsudduth avatar Dec 22 '22 16:12 djsudduth

Related: #121

kevboh avatar Dec 27 '22 12:12 kevboh