Is there any way to insert special characters?

yeah it’s " :commands ["… I corrected the post above …:see_no_evil:

on the subject:

  • you can put this in :commands [:
	["u" [ [:editor/input "{{u16 }}" {:last-pattern "<" :backward-pos 2}] ] ]
  • and this in :macros {:
:u16 "<div class='kit' data-kit='expandmacro'>&#x$1;</div>"

, assuming you installed kits… the above would have you do:

<u Enter (or Tab)
2467 Esc

Dunno if it’s in any way easier than {{u 2467 Esc … you judge.

PS… I wonder why, sometimes, in the right sidebar, some macros auto-execute without me exiting the edit mode … I even have to quickly write inside it otherwise it would execute …

I myself find it reasonable to expect that a Tab would execute the macro so I don’t have to exit the Editor just to have the macro execute, then go back inside the Edit Mode to continue writing.

1 Like