I want to define my syntax in Joplin. For example, when I type $Alex$ I want to write Alex in blue and bold. or when I type @Alexm @ I want to write Alexm@gmail.com .
How can I do it?
Hi, welcome to the forum
You can start with our variables plugin or achieve this via abbreviation software
Note Variables Plugin
With this plugin you can create string variables that can be used across all your notes.
If you use a lot the same text on different notes, this plugin could help you save time typing or remembering something.
[image]
Usage
Click on the "x1" button on the editor toolbar to add, delete or update your variables.
You can also add, remove or edit your variables directly from the note "%NoteVariables%" that will be created automatically. The note its written in JSON forma…
It is possible to add a shortcut abbreviation template support (snippet) in Joplin? Something like instead of typing “[image]” to press just the “![” and Joplin to complete all the extra characters by itself? SublimeText have a feature similar like this, where you can define your own shortcut templates with placeholders. Like this Lorem Ipsum Shortcut in Sublime Text . Just type “lorem” and “tab” key in SublimeText and BOOM! You have all the Lorem Impsum text straight there!
Or this Guide to Sub…
1 Like
Thanks, it seems good. and what about styles? can we add CSS styles when defining a snippet or variable? for example, I want to use && for the color blue.
If you need an advanced formatting you can use html tags. For its easier input you can use this plugin
Hello everyone!
Since I am a bit lazy at writing html tags manually, I've decided to add a bit of a shortcut to it for myself, hopefully to make it more efficient, because I work with a lot of my own custom tags.
Here's a preview of it:
[example-quick-html-tags]
I feel like this plugin has more potential to grow and upgrade, maybe with adding custom attributes to it as well. If anyone wants to work on it, here's a link to the repo:
The general idea was to just make adding custom HTML tags…
system
closed
14 February 2022 20:31
#5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.