ãã¼ãã«ã«ã対å¿ãã¾ããã
è¡å ¥ãæ¿ã
Obsidianã®ãã¼ã¸ã§ã³ãã¢ãããã¦ããã¼ãã«ããã©ãã°&ããããã«å¯¾å¿ãã¨æ¸ãã¦ãããã©ããã¹ã¯ãããçã ãããªã ã¢ãã¤ã«ã ã¨åããªãããã§ãã
ããã§ã以åä½ã£ãã¢ã¯ã·ã§ã³ãæ¹è¯ãã¦ã¿ã¾ããã
LineUp.md
ãªã¹ãã ã¨Outlinerã®è¡ç§»åããã以å¤ã ã¨ãã ã®è¡ç§»åã ããã«ããã¼ãã«ã ã¨ãã¼ãã«ã®è¡ç§»åã«ãªãããã«è¿½å ã
<%* e = app.workspace.activeLeaf.view.editor p = e.getCursor().line s = e.getLine(p) if(/^\s*[-\*\+] /.test(s)){ s = "obsidian-outliner:move-list-item-up" }else{ if(/^\|/.test(s)){ s = "editor:table-row-up" }else{ s = "editor:swap-line-up" } } app.commands.executeCommandById(s) %>
ã«ã¼ã½ã«è¡ã®å é ãè¦ã¦ãå¼ã³åºãã³ãã³ããå¤ãã¦ããã ãã§ãã
LineDown.md
ä¸æ¹åã¸ã®ç§»åã¯ãã¡ãã
<%* e = app.workspace.activeLeaf.view.editor p = e.getCursor().line s = e.getLine(p) if(/^\s*[-\*\+] /.test(s)){ s = "obsidian-outliner:move-list-item-down" }else{ if(/^\|/.test(s)){ s = "editor:table-row-down" }else{ s = "editor:swap-line-down" } } app.commands.executeCommandById(s) %>
ãã¯ãã§ç»é²
Templaterã®Hotkeysã«ç»é²ãã¦ãããCommanderã®Macrosã§å¼ã³åºãã¾ãã
ãã®æ¹æ³ã ã¨ã¢ãã¤ã«ãã¼ã«ãã¼ã«è¼ããã¨ããCommanderã§ã¢ã¤ã³ã³ãè¨å®ã§ããã®ã§ã使ãã¨ãã«è¿·ããªãã¦æ¸ã¿ã¾ãã
ã¾ã¨ã
ä¾¡æ ¼: ç¡æ (Dynalist Inc.)
ãã¢ãã¤ã«çã®ä¸å ·åãå¤æ°ä¿®æ£ãã¨ãããã©ãããããä¸å ·åã«æ°ã¥ãã¦ãªãã£ãã ã©ãã®ãã¨ã ããï¼