主页

主页

文档概览

table without id 
file.link as "文件名",
author,
type as "类型",
tags as "标签",
uid,
modified as "修改时间"
from "" and !"Config"
sort modified desc

limit 15

筛选修改日期为空的

table without id 
file.link as "文件名",
author,
type as "类型",
tags as "标签",
uid,
modified as "修改时间"
from "" and !"Config"
where modified = null

limit 15

重复 UID 检测

const pages = dv.pages()

const pagesId = pages.map((page)=> page.uid)
function findDuplicates(arr) {
  const count = {};
  const duplicates = [];

  for (let i = 0; i < arr.length; i++) {
    if (count[arr[i]] === undefined) {
      count[arr[i]] = 1;
    } else if (count[arr[i]] === 1) {
      duplicates.push(arr[i]);
      count[arr[i]]++;
    }
  }

  return duplicates;
}
const result = findDuplicates(pagesId)
if(result.length > 0){
	dv.list(result)
}else{
	dv.paragraph('==没有结果就是最好的结果==')
}

网站样式测试

blockquote

项目是一个开源项目,旨在总结和归纳知识管理相关知识和用法技巧。欢迎参与贡献文档,提出建议和需求,使得该项目更好。彼时您将获得除了登上此 Github 项目的贡献榜,和相同志趣的伙伴一起探讨知识管理,还将获得由 Pkmer 组织提供的相应的奖励。
测试

Order List

  1. aaa
  2. aaa
    1. 2222
      1. 4444
        1. 333
        2. 5555
      2. 55555
    2. 2333
  3. aaa
    1. 2222
      1. 22222
      2. 33333
        1. 222
  • 无序列表
    • 无序列表
    • 222
  • 无序列表 2222
  1. 有序列表
    • 1.1 无序列表
    • 1.2 无序列表
  2. 有序列表
    • 无序列表 1
    • 无序列表 2
  • 无序列表套有序
    1. 有序列表
    2. 有序列表套无序
      • 无序列表
      • 无序列表 2
    3. 第三点
  • 无序列表第二节

callout

Note
  • aaa

  • 测试

  1. 测试
  2. 测试

不同的字体样式

italic

bolded

bolded italic

In-line code (also used as emphasis)

Highlighting

==italic highlighting==

Sign works in reverse

==Bold highlighting==

==bold italic highlighting==

==Highlighting in-line code==

三更灯火五更鸡,==正是男儿读书时==

==黑发不知勤学早==,白首方悔读书迟。

Math

Codebox

public class HelloWorld {
  public static void main(String[] args) {
    System.out.println("Hello, world!");
  }
}
// my-test-file.js
console.log('Hello World!');
npm install
  function thisIsJavaScript() {
    // 这整个代码块都会被作为 JavaScript 高亮
    // 而且我们还可以给它添加 diff 标记!
-   console.log('旧的不去')
+   console.log('新的不来')
  }
function demo() {
  // 这一行 (#2) 以及下一行被高亮显示
  return '这是本代码段的第 3 行';
}
function demo() {
  console.log('这是插入以及删除类型的标记');
  // 返回语句使用默认标记类型
  return true;
}
// 单个词组也能被高亮显示
function demo() {
  return '甚至支持使用正则表达式';
}

Title of Images

Footnote

要在您的项目中配置 stylelint,您需要在项目根目录下创建一个名为 .stylelintrc 的文件。此文件可以包含您的项目的 stylelint 规则 1。要了解更多信息,请访问 https://stylelint.io/。

table

What you typedWhat you got
your wordsyour words
*your words*your words
**your words**==your words==
***your words***==your words==
**your words**your words
***your words***your words

mermaid

Loading graph...

Footnotes

  1. stylelint 是一种用于检查 CSS 代码风格的工具。它可以帮助开发人员检查 CSS 代码是否符合特定的代码规范,并提供指导意见来改进代码质量。stylelint 可以通过命令行或插件集成到常用的文本编辑器中,以便在写代码时实时检查代码质量。

讨论

若阁下有独到的见解或新颖的想法,诚邀您在文章下方留言,与大家共同探讨。



反馈交流

其他渠道

版权声明