ãã©ã«ããã¨ã®ãã¡ã¤ã«ä¸è¦§ã表示ãã¾ãã
progress
å ãã¿ã¯ä»¥åä½ã£ããé²æç¶æ³ä¸è¦§ãã§ãã ãã¡ã¤ã«ãµã¤ãºãæ£ã°ã©ãã§è¡¨ç¤ºããã 空ã£ã½ã®ãã¡ã¤ã«ãæ¸ãæãã®è¨äºãè¦ã¤ããããã
ããã«æ¤ç´¢æ©è½ãã¤ãã¦ã¿ã¾ããã
index.md
dataviewã¹ã¯ãªããã§ãã ãã®ãã¡ã¤ã«ãç½®ããããã©ã«ãã対象ã«å±¥æ´è¡¨ç¤ºãã¾ãã
--- search: cssclasses: - table-wide - table-nowrap - table-tiny - row-alt --- ```dataviewjs const MAX = 3200 const q = dv.current().search || "" const s = dv.current().file.folder dv.el("div",`<a class=internal-link href='${s}/new'>${s}/</a>`) const d = dv.pages(`"${s}"`).file .filter(x => x.name.includes(q)) .sort(x => x.mtime, "desc") .limit(100) .map(x => [ x.link, `<progress value=${x.size/MAX}></progress>`, x.mday.toLocaleString()]) dv.table(["", "ãµã¤ãº", "ä¿®æ£æ¥"], d) ```
ãµã¤ãºã¯å¤æ°MAXã§ä¸éã3200ã«ãã¦ãã¾ãã æ¥æ¬èªã¯2ãã¤ãæåãªã®ã§1600ååã«å½ããã¾ãã 1600åãè¶ ããããã«ãã¼ã¯ã«ãªãè¨å®ã
使ãæ¹
ããããã£ã®search
ã«ãã¼ã¯ã¼ããæ¸ãè¾¼ãã¨ãã¡ã¤ã«ãçµãè¾¼ã¿ã¾ãã
ãã©ã«ãåãã¿ããããã¨æ°è¦ãã¡ã¤ã«ä½æã«ãªãã¾ãã
ãã®index.mdãããã¯ãã¼ã¯ãã¦ããã°ããã©ã«ãå ã®ãã¡ã¤ã«ã«ã¢ã¯ã»ã¹ããããã
cssclasses
Mnimalãã¼ãã ã¨cssclassesã使ãã¾ãã
ãã¨ãã°cards
ã追å ããã¨ã«ã¼ãå表示ã«å¤ããã¾ãã
Style Settingsãã©ã°ã¤ã³ã® Minimal Cards ã§ã«ã¹ã¿ãã¤ãºã§ãã¾ãã èæ¯è²ã¨ãè¦ããããã¦ããã¨ããã
cssclassesã«ã¤ãã¦ã¯ä¸è¨ãµã¤ããåç §ãã¦ãã ããã
ã¾ã¨ã
ããããã£ã¯æ¥é ã¿ãããã¦ç³ãã§ããã¨ããããã