AW2307
April 17, 2021, 7:41pm
1
Hi,
I’m trying to find a way to merge Markdown files saved under different subgroups of a top-level group in a way that preserves this hierarchy.
So, if there’s a subgroup A and a subgroup B with three markdown files each, the merged Markdown file’s structure should look like this:
#Top Group
##Subgroup A
###Markdown A1
###Markdown A2
###Markdown A3
##Subgroup B
###Markdown B1
###Markdown B2
###Markdown B3
Does anyone know, whether a script exists to accomplish this in a single step?
You could replicate them into a temporary group.
Set the View > Sort to Unsorted .
Rearrange the found documents with the top document being the first, etc.
Merge.
PS: Something is coming soon. I can’t say what. Just stay tuned.
AW2307
April 18, 2021, 9:14am
3
Thanks. Yeah, that’s what I’ve been doing.
The problem is that merging doesn’t retain the group hierarchy and the output looks like this:
#Markdown A1
#Markdown A2
#Markdown A3
#Markdown B1
#Markdown B2
#Markdown B3
Reflecting the subgroups in the merged output would be really useful to keep ideas from the merged markdown documents in context.
Looking forward to the announcement
Can you clarify what you mean by this? Thanks.