Comments (9)
Hello @johans3 !
I’m gonna try to help: if I understood correctly, this plug-in Multi. Line Formatting do what you are asking for
https://github.com/nmady/obsidian-multi-line-formatting
Sorry if I didn’t understood your FR.
Have a great day!
from obsidian-hotkeys-for-templates.
Nevermind, your plugin is also useful without parsing-maybe you can implement variables in future
from obsidian-hotkeys-for-templates.
Sorry for the late reply. You mean you want to replace the selected text with the selected template? That should already be the case. Otherwise, I don't really understand your question.
from obsidian-hotkeys-for-templates.
It's OK
I've collected some smaller bits of HTML code to highlight selected text,
Therefore I was wondering if i could select some text and then, press a shortcut to highlight the same text using the template code.
Of course the template shouldn't erase my text and replace it with the highlight code, but add the template like two brackets around my text
from obsidian-hotkeys-for-templates.
If that's what @johans3 was searching for I can close this issue right?
from obsidian-hotkeys-for-templates.
If that's what @johans3 was searching for I can close this issue right?
I got my highlight feature, so of course I'm happy. But templates usually are not conceived to highlight text with colors, this was merely my work around.
Anyway, my original question was,
if your plugin is able to insert new templates without removing any selected text. But incorporate the selected text
Your plugin works well, but my suggestion could improve the use of your plugin, I guess.
It's OK for me if you want to close this ticket.
from obsidian-hotkeys-for-templates.
But where should the selected text go after the replace? That's more an issue for the template service itself. Like Templater or the core plugin.
from obsidian-hotkeys-for-templates.
Like that:
template "selected text" template
the core plugin does not allow this flexibility - not that i know. And templater is too much for my needs.
from obsidian-hotkeys-for-templates.
I am just calling the template insert function at the according plugin. I am not actually parsing the template myself.
from obsidian-hotkeys-for-templates.
Related Issues (20)
- Creation of a new note via link doesn't trigger the template insertion HOT 4
- Plugin Options blank on v0.12.12 HOT 12
- Variables in the template don't work here? HOT 1
- Bug interacting with Templater HOT 2
- New file creation along with tp.file.move/tp.file.rename results in extra empty file HOT 2
- Bug when using hotkeys for templates that work on selected words. HOT 12
- (little) Conflict with "Filename Heading Sync" HOT 5
- When moving a template from folder, hotkeys for template doesn't update template path
- Invoke with Tab HOT 1
- It doesn't work for the subfolder of the path set in text field HOT 3
- Cannot configure the plugin in Preferences HOT 4
- Error upon opening: Failed to load plugin obsidian-hotkeys- for-templates HOT 2
- [Feature Request] Add generic hotkey to create file from template
- [Feature request] Create note in a given folder from template HOT 3
- Not compatible with Templater v1.6.0 HOT 2
- After changing/removing "Add new note" entry, hotkey still available HOT 2
- Feature Request: Possible to trigger new templated note WITHOUT using a hotkey or command? HOT 9
- Default Template doesn't work with nested folders HOT 5
- Applies the template twice HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-hotkeys-for-templates.