fix latex
This commit is contained in:
24
Library/Malys/HelpShortcuts.md
Normal file
24
Library/Malys/HelpShortcuts.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
author: malys
|
||||
description: Display most commun shortcuts.
|
||||
name: "Library/Malys/HelpShortcuts"
|
||||
tags: meta/library
|
||||
share.uri: "https://github.com/malys/silverbullet-libraries/blob/main/src/HelpShortcuts.md"
|
||||
share.hash: c67cc072
|
||||
share.mode: pull
|
||||
---
|
||||
# Help: Shortcuts
|
||||
Display helper on demand.
|
||||
|
||||
```space-lua
|
||||
command.define {
|
||||
name = "Help: shortcuts",
|
||||
key = "Ctrl-h",
|
||||
run = function()
|
||||
local messages={ "shift-alt-e header picker", "ctrl-alt-t tag picker","alt-c: copy nearest","shift-ctrl-c: cursor position","alt-ctrl-n: new child","alt-ctrl-s: new sibling","ctrl-Alt-1: code block","!!last monday: chronos"}
|
||||
for i in pairs(messages) do
|
||||
editor.flashNotification(messages[i], "info")
|
||||
end
|
||||
end
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user