const currentPage = dv.current().file;
const dailyPages = dv.pages('"0-Daily"').sort(k=>k.file.name, "asc");
const currentPageName = currentPage.name;
const index = dailyPages.findIndex((e) => {return e.file.name === currentPageName});
if (index < 1) {
	dv.table(["File", "Created", "Size"],[]);
} else {
	const lastIndex = index - 1;
	const lastPage = dailyPages[lastIndex].file;
	const allPages = dv.pages().values;
	const searchPages = [];
	
	const lastTime = dv.parse(lastPage.name);
	const currentTime = dv.parse(currentPage.name);
 
	for (let page of allPages) {
		const pageFile = page.file;
		if (pageFile.cday > lastTime && pageFile.cday <= currentTime) {
		  searchPages.push(pageFile);
		}
	}
	dv.table(["File", "Created", "Size"], searchPages.sort((a, b) => a.ctime > b.ctime ? 1 : -1).map(b => [b.link, b.ctime, b.size]));
}
 

JS OCR

 
在学习如何在 Obsidian 中实现 OCR 时 </br>
找到两个功能
- [GitHub - MohrJonas/obsidian-ocr: Obsidian OCR allows you to search for text in your images and pdfs](https://github.com/MohrJonas/obsidian-ocr)
	- [ImageMagick – Convert, Edit, or Compose Digital Images](https://imagemagick.org/index.php)
		- 图片编辑器
	- [Home · UB-Mannheim/tesseract Wiki · GitHub](https://github.com/UB-Mannheim/tesseract/wiki)
		- OCR 引擎
- [GitHub - scambier/obsidian-text-extractor: A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.](https://github.com/scambier/obsidian-text-extractor)
 

更新 cargo 的版本

rust - Is there a command to update Cargo to the latest official release? - Stack Overflow

 
$ rustc --version
rustc 1.27.2 (58cc626de 2018-07-18)
$ cargo --version
cargo 1.27.0 (1e95190e5 2018-05-27)
 
$ rustup update stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2018-08-02, rust version 1.28.0 (9634041f0 2018-07-30)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: removing component 'rustc'
info: removing component 'rust-std'
info: removing component 'cargo'
info: removing component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
 
$ rustc --version
rustc 1.28.0 (9634041f0 2018-07-30)
$ cargo --version
cargo 1.28.0 (96a2c7d16 2018-07-13)
 

wasm-pack

This tool seeks to be a one-stop shop for building and working with rust-
该工具旨在成为构建和处理 rust- 的一站式商店 generated WebAssembly that you would like to interop with JavaScript, in the
生成了你想与 JavaScript 互操作的 WebAssembly,在 browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any javascript packages in workflows that you already use, such as webpack.
浏览器或 Node.js。 wasm-pack 帮助您构建 rust 生成的 WebAssembly 包,您可以将这些包发布到 npm 注册表,或者以其他方式与您已经使用的工作流程中的任何 javascript 包一起使用,例如 webpack。

This project is a part of the rust-wasm group. You can find more info by visiting that repo!
这个项目是 rust-wasm 组的一部分。您可以通过访问该存储库找到更多信息!