# Easier ==markings==

**URL:** <https://discourse.joplinapp.org/t/easier-markings/17002>\
**Category:** Plugins\
**Created:** [28 April 2021 18:58 UTC](https://discourse.joplinapp.org/t/easier-markings/17002 "2021-04-28T18:58:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![csamu](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/csamu/32/8301_2.png) [@csamu](https://discourse.joplinapp.org/u/csamu)\
**Post date:** [28 April 2021 18:58 UTC](https://discourse.joplinapp.org/t/easier-markings/17002/1 "2021-04-28T18:58:07Z")

</div>

Hey  
I'm wondering, is it possible to create a custom keyboard shortcut to make markings?  
By markings i mean ==marking==  
Maybe it's also possible to make a custom plugin to add a button among the rich-text buttons?  
I'm using 1.7.11

Regards,  
Christoffer

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [28 April 2021 19:02 UTC](https://discourse.joplinapp.org/t/easier-markings/17002/2 "2021-04-28T19:02:16Z")

</div>

Yes, it is. I've been contemplating to write such a plugin, but I'm currently quite busy.

I hope I get to it in the next 2 weeks.

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [28 April 2021 19:24 UTC](https://discourse.joplinapp.org/t/easier-markings/17002/3 "2021-04-28T19:24:31Z")

</div>

As a workaround, there was an Autohotkey script posted recently for strikethrough, it can be trivially adapted for markings.

> [@Create STRIKETHROUGH button in format toolbar](https://discourse.joplinapp.org/t/create-strikethrough-button-in-format-toolbar/16905/12):
>
> Just took a look at Keybreeze. I would say yes, it is more complicated. To do what you want to do using AHK, I think this script would work: ^`:: WinActivate ClipSaved := ClipboardAll Clipboard = Send ^x ClipWait 1 Send {raw} ~~Send ^v Send {raw}~~ Clipboard := ClipSaved ClipSaved = Return What it does is assign ctrl ` to the hotkey in the first line. Then whatever you have selected when you use the hotkey will be cut to the clipboard. Then ~~ will be outputed, clipboard contents is pasted, a…

---

<div class="post-metadata">

**Author:** ![skim1124](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/skim1124/32/7296_2.png) [@skim1124](https://discourse.joplinapp.org/u/skim1124)\
**Post date:** [29 April 2021 02:15 UTC](https://discourse.joplinapp.org/t/easier-markings/17002/4 "2021-04-29T02:15:22Z")

</div>

Yes, the AutoHotKey script works well. But I still wouldn't mind a native keyboard shortcut in Joplin for highlighting selected text. Will be happy to have it whenever.

---

<div class="post-metadata">

**Author:** ![csamu](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/csamu/32/8301_2.png) [@csamu](https://discourse.joplinapp.org/u/csamu)\
**Post date:** [29 April 2021 21:46 UTC](https://discourse.joplinapp.org/t/easier-markings/17002/5 "2021-04-29T21:46:39Z")

</div>

Thank you for your replies 👍  
Since I use Linux, I can't use AutoHotKey or Keybreeze.  
Instead, I used an application called `xdotool` together with `xclip`.  
I have the script executed by `zsh` when I press Ctrl + Alt + M.  
I'm making the keymap using Gnome Shell keyboard settings.

```
#!/bin/zsh

xdotool keyup "ctrl+alt+m"
xdotool type "==$(xclip -o)=="

```

[https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/7/7cc6654b45294773788ab9bb4b8091fbc9e9149e.m4v](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/7/7cc6654b45294773788ab9bb4b8091fbc9e9149e.m4v)

As you can see, there is an issue with retyping certain emojis, and it looks kinda weird marking long chunks – but it works! Undo also works. As you can see, I'm also using the Rich Markdown plugin.

**EDIT:**  
My solution is kinda slow and glitchy.  
It seems that Joplin 1.8.1 will support both Highlighting and Strikethrough by clicking buttons in the Rich text editor. [Release v1.8.1 · laurent22/joplin · GitHub](https://github.com/laurent22/joplin/releases/tag/v1.8.1)

![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/f/f1142b6c125cbdf42b28c2a6bd36491b8082f6e2.png)

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [22 May 2021 00:30 UTC](https://discourse.joplinapp.org/t/easier-markings/17002/6 "2021-05-22T00:30:54Z")

</div>

For anyone who uses the markdown editor:

> [@Menu items, Shortcuts, Toolbar icons](https://discourse.joplinapp.org/t/menu-items-shortcuts-toolbar-icons/17372):
>
> Menu items, Shortcuts, Toolbar icons This plugin creates menu items (in Edit), shortcuts (defaults can be changed), and toolbar icons for the following actions: mark strikethrough underline superscript subscript Default Shortcuts and Command Names Action Default Shortcut command mark CmdOrCtrl+Shift+Y textMark strikethrough CmdOrCtrl+Shift+U textStrikethrough underline CmdOrCtrl+U textUnderline superscript textSuperscript subscript textSubscript The shortcuts can be c…
