Skip to content

Commit

Permalink
更新内置文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Nriver committed Nov 28, 2023
1 parent 51cf321 commit fcc2b9c
Show file tree
Hide file tree
Showing 142 changed files with 4,240 additions and 4,118 deletions.
Binary file modified demo-cn.zip
Binary file not shown.
4,415 changes: 2,007 additions & 2,408 deletions demo-cn/!!!meta.json

Large diffs are not rendered by default.

256 changes: 118 additions & 138 deletions demo-cn/navigation.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions demo-cn/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
}

/*
* CKEditor 5 (v40.0.0) content styles.
* Generated on Thu, 19 Oct 2023 13:45:23 GMT.
* CKEditor 5 (v40.1.0) content styles.
* Generated on Mon, 20 Nov 2023 08:41:49 GMT.
* For more information, check out https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/content-styles.html
*/

Expand Down Expand Up @@ -87,6 +87,13 @@
.ck-content[dir="ltr"] .table th {
text-align: left;
}
/* @ckeditor/ckeditor5-media-embed/theme/mediaembed.css */
.ck-content .media {
clear: both;
margin: 0.9em 0;
display: block;
min-width: 15em;
}
/* @ckeditor/ckeditor5-page-break/theme/pagebreak.css */
.ck-content .page-break {
position: relative;
Expand Down Expand Up @@ -123,13 +130,6 @@
-ms-user-select: none;
user-select: none;
}
/* @ckeditor/ckeditor5-media-embed/theme/mediaembed.css */
.ck-content .media {
clear: both;
margin: 0.9em 0;
display: block;
min-width: 15em;
}
/* @ckeditor/ckeditor5-list/theme/todolist.css */
.ck-content .todo-list {
list-style: none;
Expand Down
10 changes: 7 additions & 3 deletions demo-cn/示例笔记 - 请不要删除/Trilium 使用技巧.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@
<h1 data-trilium-h1>Trilium 使用技巧</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<p>Nate: 记录一些我用Trilium的过程中发现的一些使用技巧,很多东西是我自己踩过的坑,希望能对你有所帮助。</p>
<div>
<div>
<p>Nate: 记录一些我用Trilium的过程中发现的一些使用技巧,很多东西是我自己踩过的坑,希望能对你有所帮助。</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@
<h1 data-trilium-h1>Awesome-trilium 插件索引</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<p><a href="https://github.com/Nriver/awesome-trilium">https://github.com/Nriver/awesome-trilium</a> </p>
<p>这个是我做的一个收集Trilium第三方开发者开发的一些扩展,插件等信息的仓库。如果你想分享自己写的插件或者发现了什么有用的插件,欢迎加入到这个项目里来。</p>
<div>
<div>
<p><a href="https://github.com/Nriver/awesome-trilium">https://github.com/Nriver/awesome-trilium</a> </p>
<p>这个是我做的一个收集Trilium第三方开发者开发的一些扩展,插件等信息的仓库。如果你想分享自己写的插件或者发现了什么有用的插件,欢迎加入到这个项目里来。</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,22 @@
<h1 data-trilium-h1>TODO 列表</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<p>像 <a class="reference-link" href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E4%B9%B0%E4%B9%B0%E4%B9%B0.html"
data-note-path="root/1gZBLeueOmfd">买买买 </a> 这样的列表, 可以通过输入</p>
<p>左括号+空格+右括号+空格 来快速实现</p>
<p>就是</p><pre><code class="language-text-plain">[ ] </code></pre>
<div>
<div>
<p>像 <a class="reference-link" href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E4%B9%B0%E4%B9%B0%E4%B9%B0.html"
data-note-path="root/1gZBLeueOmfd">买买买 </a> 这样的列表, 可以通过输入</p>
<p>左括号+空格+右括号+空格 来快速实现</p>
<p>就是</p><pre><code class="language-text-plain">[ ] </code></pre>

<p>它会自动转换成TODO列表</p>
<p> </p>
<p>按下<code>ctrl+enter</code>能切换完成状态,选中多行可以批量修改状态</p>
<p>它会自动转换成TODO列表</p>
<p> </p>
<p>按下<code>ctrl+enter</code>能切换完成状态,选中多行可以批量修改状态</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@
<h1 data-trilium-h1>Trilium接口调用</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<p>Trilium有叫做ETAPI的接口可供调用。我把接口用python进行了封装,有兴趣的可以移步到我的另一个项目 <a href="https://github.com/Nriver/trilium-py">Trilium-py</a> 查看。</p>
<div>
<div>
<p>Trilium有叫做ETAPI的接口可供调用。我把接口用python进行了封装,有兴趣的可以移步到我的另一个项目 <a href="https://github.com/Nriver/trilium-py">Trilium-py</a> 查看。</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,22 @@
<h1 data-trilium-h1>使用模板创建笔记</h1>

<div class="ck-content">
<div>
<div>
<p>给笔记加上 <code>#template</code> 标签就能变成模板</p>
<p>在笔记树右键添加笔记的时候可以选择这个模板来创建笔记</p>
<p>比如 <a class="reference-link" href="../%E7%AC%94%E8%AE%B0/%E8%AF%BB%E4%B9%A6/%E8%AF%BB%E4%B9%A6%E6%A8%A1%E6%9D%BF.html"
data-note-path="root/zIR4fTtCfU7X">读书模板</a>
<div class="content">
<div class="ck-content">
<div>
<div>
<p>给笔记加上 <code>#template</code> 标签就能变成模板</p>
<p>在笔记树右键添加笔记的时候可以选择这个模板来创建笔记</p>
<p>比如 <a class="reference-link" href="../%E7%AC%94%E8%AE%B0/%E8%AF%BB%E4%B9%A6/%E8%AF%BB%E4%B9%A6%E6%A8%A1%E6%9D%BF.html"
data-note-path="root/zIR4fTtCfU7X">读书模板</a>

</p>
<figure class="image">
<img src="使用模板创建笔记_image.png" />
</figure>
<p> </p>
</p>
<figure class="image">
<img src="使用模板创建笔记_image.png" />
</figure>
<p> </p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,32 @@
<h1 data-trilium-h1>保存笔记和历史版本</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<h2>保存笔记</h2>
<div>
<div>
<h2>保存笔记</h2>

<p>Trilium默认是自动保存笔记的。</p>
<p>客户端数据同步一般也是自动,你也可以点击左下角的wifi信号按钮手动同步。</p>
<p>网页端的数据是实时同步。</p>
<p> </p>
<p>Trilium还提供了历史版本功能,右上角的这个按钮可以看到笔记修改的历史记录</p>
<figure class="image">
<img src="保存笔记和历史版本_image.png" />
</figure>
<p> </p>
<h2>设置笔记创建历史的快捷键</h2>
<p>Trilium默认是自动保存笔记的。</p>
<p>客户端数据同步一般也是自动,你也可以点击左下角的wifi信号按钮手动同步。</p>
<p>网页端的数据是实时同步。</p>
<p> </p>
<p>Trilium还提供了历史版本功能,右上角的这个按钮可以看到笔记修改的历史记录</p>
<figure class="image">
<img src="保存笔记和历史版本_image.png" />
</figure>
<p> </p>
<h2>设置笔记创建历史的快捷键</h2>

<p>在设置里设置快捷键 <span style="background-color:rgb(51,51,51);color:rgb(204,204,204)"><code>forceSaveNoteRevision</code> 可以手动创建笔记历史。</span>
<p>在设置里设置快捷键 <span style="background-color:rgb(51,51,51);color:rgb(204,204,204)"><code>forceSaveNoteRevision</code> 可以手动创建笔记历史。</span>

</p>
<p><span style="background-color:rgb(51,51,51);color:rgb(204,204,204)">这里建议把 <code>quickSearch</code> 的快捷键删掉,给 <code>forceSaveNoteRevision</code></span> 设置成
Ctrl+S</p>
</p>
<p><span style="background-color:rgb(51,51,51);color:rgb(204,204,204)">这里建议把 <code>quickSearch</code> 的快捷键删掉,给 <code>forceSaveNoteRevision</code></span> 设置成
Ctrl+S</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,39 @@
<h1 data-trilium-h1>克隆笔记</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<p>在笔记树里对笔记点右键,选择 复制/克隆,再选择另一个节点进行粘贴操作就能实现笔记克隆了。</p>
<p>克隆的笔记后面有个 * 标记,修改一个克隆会修改所有的克隆文件,而删除克隆不会影响到原文件。</p>
<p>笔记克隆的好处是可以让一个笔记同时存在于多个节点下,比如 <a class="reference-link" href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7/Trilium.html"
data-note-path="root/7yKP7KWg5ZQm">Trilium</a> 这个笔记,可以分类到  <a class="reference-link"
href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/%E7%AC%94%E8%AE%B0%E8%BD%AF%E4%BB%B6"
data-note-path="root/ggq62lwI2Hem">笔记软件</a>, 同时也可以归为 <a class="reference-link"
href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7"
data-note-path="root/pVd7G1l4HilY">效率工具</a>
<div>
<div>
<p>在笔记树里对笔记点右键,选择 复制/克隆,再选择另一个节点进行粘贴操作就能实现笔记克隆了。</p>
<p>克隆的笔记后面有个 * 标记,修改一个克隆会修改所有的克隆文件,而删除克隆不会影响到原文件。</p>
<p>笔记克隆的好处是可以让一个笔记同时存在于多个节点下,比如 <a class="reference-link" href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7/Trilium.html"
data-note-path="root/7yKP7KWg5ZQm">Trilium</a> 这个笔记,可以分类到  <a class="reference-link"
href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/%E7%AC%94%E8%AE%B0%E8%BD%AF%E4%BB%B6"
data-note-path="root/ggq62lwI2Hem">笔记软件</a>, 同时也可以归为 <a class="reference-link"
href="../%E7%9F%A5%E8%AF%86%E5%BA%93/%E5%BA%94%E7%94%A8%E8%BD%AF%E4%BB%B6/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7"
data-note-path="root/pVd7G1l4HilY">效率工具</a>

</p>
<figure class="image">
<img src="1_克隆笔记_image.png" />
</figure>
<p>同一个笔记可以同时出现在多个地方,但是只占一份空间。</p>
<p>这算是Trilium的特色功能了。</p>
<p> </p>
<p>在笔记上方的笔记路径里可以看到当前笔记所有的克隆位置</p>
<figure class="image">
<img src="克隆笔记_image.png" />
</figure>
<p> </p>
<p>利用克隆这个特性,你可以做很多事情。比如有一个笔记想好了一个标题,但是暂时没有时间全部写完,你可以把这个笔记克隆到一个固定的位置,比如 
<a
class="reference-link" href="../%E7%AC%94%E8%AE%B0/%E5%85%B3%E6%B3%A8%E9%A1%B9%E7%9B%AE.html"
data-note-path="root/55UAMEWI0CHu">关注项目</a>。等有时间了再来统一处理。处理完之后再把克隆删掉,不影响原来的笔记。</p>
</p>
<figure class="image">
<img src="克隆笔记_image.png" />
</figure>
<p>同一个笔记可以同时出现在多个地方,但是只占一份空间。</p>
<p>这算是Trilium的特色功能了。</p>
<p> </p>
<p>在笔记上方的笔记路径里可以看到当前笔记所有的克隆位置</p>
<figure class="image">
<img src="1_克隆笔记_image.png" />
</figure>
<p> </p>
<p>利用克隆这个特性,你可以做很多事情。比如有一个笔记想好了一个标题,但是暂时没有时间全部写完,你可以把这个笔记克隆到一个固定的位置,比如 
<a
class="reference-link" href="../%E7%AC%94%E8%AE%B0/%E5%85%B3%E6%B3%A8%E9%A1%B9%E7%9B%AE.html"
data-note-path="root/55UAMEWI0CHu">关注项目</a>。等有时间了再来统一处理。处理完之后再把克隆删掉,不影响原来的笔记。</p>
</div>
</div>
</div>
</div>
</div>
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,22 @@
<h1 data-trilium-h1>创建笔记</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<p>创建笔记只要在左侧笔记树里任意节点上点击+就可以创建了</p>
<figure class="image">
<img src="1_创建笔记_image.png" />
</figure>
<p>你也可以在笔记树里点击右键,进行更详细的操作,创建不同类型的笔记</p>
<figure class="image">
<img src="创建笔记_image.png" />
</figure>
<div>
<div>
<p>创建笔记只要在左侧笔记树里任意节点上点击+就可以创建了</p>
<figure class="image">
<img src="创建笔记_image.png" />
</figure>
<p>你也可以在笔记树里点击右键,进行更详细的操作,创建不同类型的笔记</p>
<figure class="image">
<img src="1_创建笔记_image.png" />
</figure>
</div>
</div>
</div>
</div>
</div>
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,24 @@
<h1 data-trilium-h1>剪藏网页</h1>

<div class="ck-content">
<div>
<div>
<div class="content">
<div class="ck-content">
<div>
<div>
<p>可以使用官方的 Trilium Web Clipper 插件</p>
<p><a href="https://chrome.google.com/webstore/detail/dfhgmnfclbebfobmblelddiejjcijbjm">https://chrome.google.com/webstore/detail/dfhgmnfclbebfobmblelddiejjcijbjm</a>
<div>
<div>
<p>可以使用官方的 Trilium Web Clipper 插件</p>
<p><a href="https://chrome.google.com/webstore/detail/dfhgmnfclbebfobmblelddiejjcijbjm">https://chrome.google.com/webstore/detail/dfhgmnfclbebfobmblelddiejjcijbjm</a>

</p>
<p>插件需要配合服务端使用,配置一下服务器地址和密码就行了。如果要输入用户名,可以随便填写,新版的Trilium已经没有用户名了,这个是为了和旧版兼容保留的。</p>
<p> </p>
<p>官方插件剪藏大部分网页效果还行,如果你想要效果更好的,可以尝试用这个 <a class="reference-link" href="../Trilium%20%E6%89%A9%E5%B1%95/Trilium%20%E8%87%AA%E5%AE%9A%E4%B9%89API/%E7%BD%91%E9%A1%B5%E5%BF%AB%E7%85%A7%20Trilium-SingleFile.html"
data-note-path="root/N5TPQupI4iNQ">网页快照 singlefile2trilium</a>
</p>
<p>插件需要配合服务端使用,配置一下服务器地址和密码就行了。如果要输入用户名,可以随便填写,新版的Trilium已经没有用户名了,这个是为了和旧版兼容保留的。</p>
<p> </p>
<p>官方插件剪藏大部分网页效果还行,如果你想要效果更好的,可以尝试用这个 <a class="reference-link" href="../Trilium%20%E6%89%A9%E5%B1%95/Trilium%20%E8%87%AA%E5%AE%9A%E4%B9%89API/%E7%BD%91%E9%A1%B5%E5%BF%AB%E7%85%A7%20Trilium-SingleFile.html"
data-note-path="root/N5TPQupI4iNQ">网页快照 singlefile2trilium</a>

</p>
</p>
</div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit fcc2b9c

Please sign in to comment.