思源笔记
0 篇文章
widget query 使用文档
简体中文 |Englishwidget-query 一个将思源笔记数据库查询结果以表格样式渲染的挂件现已上架思源笔记社区集市,如果您喜欢本挂件,欢迎为本项目点亮一个 ⭐!思源数据库表与字段详情请见:思源数据库表与字段·语雀预览 https://github.com/Zuoqiu-Yingyi/widget-query/blob/main/preview.png 背景颜色状态指示:白色:初始化正在处理查询绿色查
seehttps://ld246.com/article/1736129820912 近期计划:https://github.com/siyuan-note/siyuan/milestones 长期路线:https://github.com/orgs/siyuan-note/projects/1
https://github.com/siyuan-note/bazaar/blob/main/stage/plugins.jsonhttps://ld246.com/article/1736317841920 手机版插件
seehttps://ld246.com/article/1736035967300/comment/1736126600837?r=wilsons#comments 如果是代码片段,可以动态加载 js,然后,用 vscode 编辑 js 文件就可以了比如代码片段输入{//动态加载 jsconstsrc='/snippets/query.js';constscript=document.createElement
//发送通知 showMessage(` 模板导出成功 <br/> 路径:${templatesPath.replace(/\/+$/,'')}`);if(isPc()){constmsgContent=awaitwhenElementExist("#message.b3-snackbar__content");constbr=document.createElement("br");constbutton
https://github.com/siyuan-note/oceanpress/tree/main/apps/frontend/src/websiteseehttps://ld246.com/article/1734924497915oceanpress-apps-frontend-src.zip
functionisTouchDevice(){return("ontouchstart"inwindow)&&navigator.maxTouchPoints>1;}functionisMobile(){return!!document.getElementById("sidebar");}functionisElectron(){returnnavigator.userAgent.include
如果需要执行多个网络请求来判断插件列表是否有更新,选择合适的方案取决于以下几个因素:任务的性质:网络请求是 I/O 密集型任务,通常不会占用大量 CPU 资源。任务的依赖关系:是否需要等待所有请求完成后再处理结果。性能和资源需求:是否需要并发执行多个请求以提高效率。以下是几种适合处理网络请求的方案:1.Promise.all适用场景:需要并发执行多个网络请求,且任务之间没有依赖关系。优点:并发执行多个
seehttps://ld246.com/article/1731698559408 通过监听 window.siyuan.editorIsFullscreen 对象的变化实现//定义一个可观察的属性 window.siyuan._editorIsFullscreen=window.siyuan.editorIsFullscreen||false;Object.defineProperty(window.s
seehttps://ld246.com/article/1734957026187 这里是示例代码,根据自己的需要修改//切换主题后需刷新页面才能生效//普通文档:siyuan.storage["local-images"].file='1f4c4'//含有子文档的父文档:siyuan.storage["local-images"].folder='1f4d1'//笔记本:siyuan.storag
seehttps://ld246.com/article/1737547348696//发布服务默认打开指定的文档{//定义主页打开的文档 idconsthomeDocId='20240825071627-9mhkrtr';constlocalSearch=location.search.toLowerCase();if(siyuan.config.readonly&&localSearch.inde
https://ld246.com/article/1735377399074css 方式实现.block__popover.block__popover--open{top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;}js 方式实现 https://gitee.com/wish163/mysoft/
记录精彩的程序人生
开始使用
分类
标签