From 419ea9a2431bff87329c74ff59b327381d53a3ab Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Sat, 1 Dec 2018 18:27:21 +0100 Subject: [PATCH] Tweak for keyboard-shortcuts how-to (#3605) --- .../tiddlers/howtos/How to create keyboard shortcuts.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid b/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid index ea36b9e18..2b93044e7 100644 --- a/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +++ b/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid @@ -64,13 +64,13 @@ type: text/vnd.tiddlywiki > If the tiddler has the tag <>, the field ''key'' with the [[Keyboard Shortcut Descriptor]] as its value and some actions in its text field, the actions will be triggered when the mechanism detects the configured key-combination -<$macrocall $name=".tip" _="""''Macros'' defined ''outside'' our keyboard-shortcut tiddlers (through a tiddler tagged <>) don't work out-of-the-box when triggered with a global keyboard shortcut, but there's a simple workaround using the [[import pragma|Pragma]], adding the following line ''on top'' of your keyboard-shortcut tiddler containing the macro: +<$macrocall $name=".tip" _="""''Macros'' defined ''outside'' our keyboard-shortcut tiddlers (through a tiddler tagged <>) don't work out-of-the-box when triggered with a global keyboard shortcut, but there's a simple workaround using the [[import pragma|Pragma]], adding the following line ''on top'' of your keyboard-shortcut tiddler:
 \import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]
 
-or even simpler, if the tiddler containing the macro is known and - for example - titled `my-macro-tiddler`: +or even simpler, if the tiddler that contains the macro definition is known and - for example - titled `my-macro-tiddler`:
 \import [[my-macro-tiddler]]