Templaterã¯Textwellã®ã¢ã¯ã·ã§ã³ã«å½ããã¾ãã ã¡ãã£ã¨ããæ©è½ãèªä½ãã¦è¿½å ã
Templater
Templaterã¢ã¯ã·ã§ã³ã¯ä¸è¨å½¢å¼ã®mdãã¡ã¤ã«ã«ãªãã¾ãã
<%* ã¹ã¯ãªããã®ä¸èº« %>
ãã¨ãã°Gyazoã¢ãã¬ã¹ãMarkdownã«å¤æããå ´åã¯ï¼
<%* s = tp.file.selection() s = s.replace(/^(https:\/\/gyazo\.com\/.*)/, "![]($1/raw)") return s %>
ãããTemplaterã®Template Hotkeysã«ç»é²ããã°åºæ¥ä¸ããã
ã·ã³ãã«ã§ããã é¸æç¯å²ãå¤æãããã®å¤ãè¿ãæ¹æ³ã§ãã æ£è¦è¡¨ç¾ã®æ¸ãæ¹ããããã¨å¿ç¨ãå©ãã¨æãã¾ãã
ã³ãã³ãä¸è¦§
Templaterã«ã¯codeMirrorã®ã³ãã³ãã使ããã®ã§ãã«ã¼ã½ã«è¡ãåå¾ãã¦å¤æãã¨ããã¢ã¯ã·ã§ã³ãçµããã¨ãã§ãã¾ãã
<%* e = app.workspace.activeLeaf.view.editor p = e.getCursor().line s = e.getLine(p) s = s.replace(/^(https:\/\/gyazo\.com\/.*)/, "![]($1/raw)") e.setLine(p, s) %>
ããããé¸æããå¿ è¦ããªããªãã¾ããã
å®æåã¯ãã¡ããåç §ãã¦ãã ããã ã¯ã¦ãªããã°ã¸ã®æ稿ãã§ãã¾ãã
ãã¡ã¤ã«æä½
ãã¡ã¤ã«æä½ãã§ãã¾ãã ãã¤ãªã¼ãã¼ããæ¯ãè¿ãããªãã¦ãã¨ãã§ãã¾ãã
é·æãåå²å·çããPlaylistãæ°ã«å ¥ã£ã¦ã¾ãã ãã¡ã¤ã«ã®ãã¼ã¸ã試è¡é¯èª¤ã§ããã Obsidianã®å¥¥æ·±ããæãã¾ãã
Snap
ããããã¹ã¯ãªãããè¨äºãTextwellã§ä¸æ¸ããã¦ãã¾ãã
å ±æãããSnapããé¸ã¶ã¨ãObsidianãèµ·åããã«ãã¡ã¤ã«ã®æ¸ãè¾¼ã¿ãã§ãã¾ãã Obsidianã¯èµ·åã«æéããããã®ãããã¯ã§ããã æãã¤ããæ¸ãçããã«ã¯TextwellãDraftPadã®æ¹ãå©ä¾¿æ§ãé«ãã¨æãã¾ãã
ã¾ã¨ã
Templaterã®å ¨ä½åã¯ãããããã¾ããã Tempuraãè¦ãã¨ããããã£ã®æä½ã¾ã§ã§ããããã ãã ãã©ã°ã¤ã³ã«è¿ããã¨ãã§ãããã§ãã