## Note Composer
🔹 *parent* [[Permanent/Obsidian/Obsidian Plugins]]
▫️ *related* [[⏶ Obsidian Process 2021|Obsidian Process 2021]]
### Extract Setup in templates
I figured out how to use Note Composer plugin.<sup>[[#^noteComposer|1]]</sup>
I created a new template called `{{newTitle}}`, within it all the title attributes are named newTitle.
When I extract a block of text by selecting it, right clicking, and clicking `extract current selection`, it will then give me an option to name a new file. When I do that, it will now create a new template named what I typed in, and `{{content}}` will be all of the text I extracted, and the first header in Notes will be the title of the note it was originally in.
Under the `Related` heading, it will create a backlink to the original file the content was in. In that file, there will now be a link to the new file.
### Merge and Split template update
I updated my merge/split tempalate to just be `newTitle` (template title if none exists), then a Notes 2nd level header, a `newTitle` 3rd level header with `content` template, and a Related 2nd level header with the `fromTitle` template name.
I did this because I'm trying to make the merge/split template work in a way that it will add a section to an existing note if it exists. If it doesn't exist, hopefully it will create a new one with the `newTitle`, and then I can just insert a template and copy/paste the template content. There also might be an easier way to do this.
My test showed that that if I selected the header of the content I wanted to show, the template would copy the header, but just add all of the `content` (including header) at the bottom of the note. I couldn't find a way to add it into a specific header, but maybe this will eventually become possible. I'd like it to always insert it into `Notes` or give me an option from the command palette.
### Merge
Using the command palette or the options menu within a note, you can also use `merge entire file with` which will extract all of the new information and add it to a new or existing file, though this doesn't seem incredibly useful to me. It seems it would be better to select what information you want extracted.
## References
1. Explanation on Obsidian Help *Note composer*, [Obsidian Help](https://help.obsidian.md/Plugins/Note+composer)^noteComposer