joplin-plugin-combine-notes
joplin-plugin-combine-notes copied to clipboard
Option to Adjust Headers for Combined Note?
Thanks for all your contributions to the plug-in repo. Joplin's usefulness has been expanding exponentially since the plug-in system was implemented thanks to you and others.
This plug-in looks very promising to resolve a tedious manual procedure that I repeat too often. How do you handle Headers and TOC during the combine process?
When I combine notes manually, I:
- Demote all headers one-level and create a new H1 (i.e., Note Title) for the combined note. This keeps my automatic header numbering intact.
- Strip any existing [toc] from the original notes and add consolidated [toc] for the combined note. (TOCs not visible in examples, below, as they are fly-in from the right-margin when hovering)
Example:
NOTE1 Markdown:
# Note 1
<div class="n-"><p style="font-size:x-small;line-height:1.2"><strong>Document Last Revised: </strong>XX/XX/2021<br><strong>Reference: </strong><a href="REPLACEWITHURL">REPLACEWITHLINKTEXT</a></p>
[toc]
Brief description of the concept/procedure etc.
## First Section of Note 1
### First Subsection of Note 1
### Second Subsection Note 1
NOTE1 Rendered:
NOTE2 Markdown:
# Note 2
<div class="n-"><p style="font-size:x-small;line-height:1.2"><strong>Document Last Revised: </strong>XX/XX/2021<br><strong>Reference: </strong><a href="REPLACEWITHURL">REPLACEWITHLINKTEXT</a></p>
[toc]
Brief description of the concept/procedure etc.
## First Section of Note 2
### First Subsection of Note 2
### Second Subsection of Note 2
NOTE2 Rendered:
COMBINED Markdown:
# Combined Note
<div class="n-"><p style="font-size:x-small;line-height:1.2"><strong>Document Combined: </strong>XX/XX/2021</p>
[toc]
## Note 1
<div class="n-"><p style="font-size:x-small;line-height:1.2"><strong>Document Last Revised: </strong>XX/XX/2021<br><strong>Reference: </strong><a href="REPLACEWITHURL">REPLACEWITHLINKTEXT</a></p>
Brief description of the concept/procedure etc.
### First Section of Note 1
#### First Subsection of Note 1
#### Second Subsection Note 1
## Note 2
<div class="n-"><p style="font-size:x-small;line-height:1.2"><strong>Document Last Revised: </strong>XX/XX/2021<br><strong>Reference: </strong><a href="REPLACEWITHURL">REPLACEWITHLINKTEXT</a></p>
Brief description of the concept/procedure etc.
### First Section of Note 2
#### First Subsection of Note 2
#### Second Subsection of Note 2
COMBINED Rendered:
I will think about it during the days when I have time.
No idea how complex to implement but would be possibly nice:
Setup gives the option to choose a default for title of combined note.
- Title from first (top) selected note
- Title from last (lowest) note
- Default title: [ input field → easy setup for any language ]