obsidian-text-expand icon indicating copy to clipboard operation
obsidian-text-expand copied to clipboard

[feature request]Add some basic replacement

Open dentistfrankchen opened this issue 3 years ago • 1 comments
trafficstars

So far this plugin has shown to be very great. However, I hope you can add some replacement for it. For example I get: 1.yyy* 2.uii* … I hope I can replace all * with blank since I do not want them. Also, this feature can be used to change format.

Hope it can look like:

replace: *
with: 

dentistfrankchen avatar Jul 30 '22 06:07 dentistfrankchen

Also I want to point out that this is for the result, not for the original place.

dentistfrankchen avatar Jul 31 '22 00:07 dentistfrankchen

@dentistfrankchen I think what using eta template feature can help you with that.

‎```expander
path:"Obsidian Plugin -" -path:"DEPRECATED" -path:"ARCHIVE"
<% it.files.forEach(file => { %>
   - <%= file.link %> 
<% }) %>
‎```
- [[Obsidian Plugin - Add link to the current note]] 
- [[Obsidian Plugin - Expander - Search and include list of notes]] 
- [[Obsidian Plugin - Jump to links]] 
- [[Obsidian Plugin - Copy note URI]] 
- [[Obsidian Plugin - Eleanor plugin]] 
- [[Obsidian Plugin - Extract text in a separate note]] 
- [[Obsidian Plugin - Insert Date - Jump to link - Toggle TODO]] 
- [[Obsidian Plugin - Move backlinks from sidepanel to the root document]] 
- [[Obsidian Plugin - name as heading in note]] 
- [[Obsidian Plugin - Put current line in global search]] 
- [[Obsidian Plugin - QNote - fast note creation]] 
- [[Obsidian Plugin - Retreave notes by interval repetition]] 
- [[Obsidian Plugin - Table editor]] 
- [[Obsidian Plugin - Unmap Vim Ctrl-C combination]] 
- [[Obsidian Plugin - Zoom in header]] 

<-->

‎```expander
path:"Obsidian Plugin -" -path:"DEPRECATED" -path:"ARCHIVE"
<% it.files.forEach(file => { %>
   - <%= "[[" + file.name + "|" + file.name.replace('Obsidian Plugin - ', '') + "]]" %> 
<% }) %>
‎```
- [[Obsidian Plugin - Add link to the current note.md|Add link to the current note.md]] 
- [[Obsidian Plugin - Expander - Search and include list of notes.md|Expander - Search and include list of notes.md]] 
- [[Obsidian Plugin - Jump to links.md|Jump to links.md]] 
- [[Obsidian Plugin - Copy note URI.md|Copy note URI.md]] 
- [[Obsidian Plugin - Eleanor plugin.md|Eleanor plugin.md]] 
- [[Obsidian Plugin - Extract text in a separate note.md|Extract text in a separate note.md]] 
- [[Obsidian Plugin - Insert Date - Jump to link - Toggle TODO.md|Insert Date - Jump to link - Toggle TODO.md]] 
- [[Obsidian Plugin - Move backlinks from sidepanel to the root document.md|Move backlinks from sidepanel to the root document.md]] 
- [[Obsidian Plugin - name as heading in note.md|name as heading in note.md]] 
- [[Obsidian Plugin - Put current line in global search.md|Put current line in global search.md]] 
- [[Obsidian Plugin - QNote - fast note creation.md|QNote - fast note creation.md]] 
- [[Obsidian Plugin - Retreave notes by interval repetition.md|Retreave notes by interval repetition.md]] 
- [[Obsidian Plugin - Table editor.md|Table editor.md]] 
- [[Obsidian Plugin - Unmap Vim Ctrl-C combination.md|Unmap Vim Ctrl-C combination.md]] 
- [[Obsidian Plugin - Zoom in header.md|Zoom in header.md]] 

<-->

mrjackphil avatar Oct 19 '22 07:10 mrjackphil

Feel free to reopen this issue if there are more questions!

mrjackphil avatar Oct 19 '22 08:10 mrjackphil