人生是一场无限游戏

JeffreyChen 产品 测试 万事通 乐于助人
关注
96636 号成员,2022-12-27 10:31:13 加入
5.2k
个人主页 浏览
4.5k
帖子 + 回帖 + 评论
423h51m
在线时长
思源笔记同步教程:ld246.com/article/1692089679062
  • 能增加代码块的备注功能吗?

    2024-02-01 00:44

    合理。应该能做插件实现。期待

  • 行级公式、公式块编辑器的 tab 缩进

    2024-01-31 17:52

    噢,我的问题,我还以为说的是代码块,没看清楚你帖子说的是公式块

  • 一直弹出这个通知,能不能关掉呀?

    2024-01-31 17:48

    @player @Near 可能是文档层级导航插件的问题,详情见帖子: 请问这个通知怎么关闭?

    后续请关注 issue:Issue #36 · OpaqueGlass/syplugin-hierarchyNavigate

  • 折叠屏手机的编辑器按钮,展开状态会消失。同时输入法悬浮键盘也会消失

    2024-01-31 16:27

    可以试试「工具栏 Plus」插件能不能在平板模式上用:

    image.png

    可以在编辑器上显示:

    image.png

  • 请问这个通知怎么关闭?

    2024-01-31 16:18

    请问这个通知怎么关闭? - 88250 的回帖 :可能是某个插件调用了 listDocsByPath 接口,并且传入了参数 maxListCount,如果是的话,只需要取消传入这个参数就可以使用 设置 - 文档树 - 最大列出数量 的配置值了,关联 Issue #7993 · siyuan-note/siyuan

    那你或许可以试试关闭所有插件,然后一个个排查看看

  • 为什么搜索可以搜到块的 ID?

    2024-01-31 16:13

    我觉得是特性,方便搜索特定 ID 的块。毕竟 ID 都是随机乱码,一般不会通过哪个单词搜索到

  • 求一个无序列表样式的 CSS 代码片段

    2024-01-31 16:05

    想要代码行数少一点的话,就用这个:

    /* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */
    
    /* 无序列表块、嵌入块、浮窗聚焦 */
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg,
    [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action svg,
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action svg{
        color:transparent;
    }
    
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before,
    [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action::before,
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action::before{
        font-size: 1.5em;
        line-height: 1;
        margin-bottom: 0px;
        margin-left:13px;
        font-family: Arial;
        content: "▪";
    }
    
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before,
    [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before,
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "•";
    }
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before,
    [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before,
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "◦";
    }
    
  • 求一个无序列表样式的 CSS 代码片段

    2024-01-31 15:48

    我搞明白了,我的列表跟你的有一点点不一样,我单独适配了三种情况,现在这个代码应该行了:

    (刚刚更新了一下回帖,现在肯定行了)

    /* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */
    
    /* 无序列表块 */
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg{
        color:transparent;
    }
    
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before {
        font-size: 1.5em;
        line-height: 1;
        margin-bottom: 0px;
        margin-left:13px;
        font-family: Arial;
        content: "▪";
    }
    
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "•";
    }
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "◦";
    }
    
    
    /* 嵌入块 */
    [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action svg{
        color:transparent;
    }
    
    [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action::before {
        font-size: 1.5em;
        line-height: 1;
        margin-bottom: 0px;
        margin-left:13px;
        font-family: Arial;
        content: "▪";
    }
    
    [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "•";
    }
    [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "◦";
    }
    
    
    /* 浮窗 */
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action svg{
        color:transparent;
    }
    
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action::before {
        font-size: 1.5em;
        line-height: 1;
        margin-bottom: 0px;
        margin-left:13px;
        font-family: Arial;
        content: "▪";
    }
    
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "•";
    }
    [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "◦";
    }
    
  • 请问这个通知怎么关闭?

    2024-01-31 15:22

    还不行的话你就 @ 88250 问问

  • 请问这个通知怎么关闭?

    2024-01-31 14:47

    设置改了之后,重启思源和重建索引试试。

    如果不行的话,可能是 BUG

  • 求一个无序列表样式的 CSS 代码片段

    2024-01-31 13:45

    可能之前的代码的缩进有点问题,我稍微改了一下,你再用这个试试看:

    /* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg{
        color:transparent;
    }
    
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before {
        font-size: 1.5em;
        line-height: 1;
        margin-bottom: 0px;
        margin-left:13px;
        font-family: Arial;
        content: "▪";
    }
    
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "•";
    }
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "◦";
    }
    
  • notion 一样的个人主页设置

    2024-01-31 13:13

    我不用 Notion,不知道你想要的是不是首页插件这种效果:

    image.png

    image.png

  • 请求功能 数据库的 "多选" 类型筛选增加条件 "匹配"

    2024-01-31 13:03

    如果需要 不包含全选其他 的话,确实挺麻烦

  • 求一个无序列表样式的 CSS 代码片段

    2024-01-31 12:00

    那你在原先的工作空间先把其他代码片段和插件都关掉,只保留开启这个代码片段,然后重启一下思源试试(重载窗口)

  • 同步密钥输错了怎么重输

    2024-01-30 23:05

    我觉得是这个:

    image.png

    image.png

  • 求一个无序列表样式的 CSS 代码片段

    2024-01-30 22:44

    你新开一个工作空间测试一下看看?

  • 求一个无序列表样式的 CSS 代码片段

    2024-01-30 20:26

    我不明白你那里是什么情况,我这里是没问题的:

    image.png

    可能跟什么插件或者代码片段冲突了,每行都加 !important 试试:

    /* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */
    [data-subtype="u"] > .li[data-subtype="u"] > .protyle-action svg {
        color: transparent !important;
    }
    
    [data-subtype="u"] > .li[data-subtype="u"] > .protyle-action::before {
        font-size: 1.5em !important;
        line-height: 1 !important;
        margin-bottom: 0px !important;
        margin-left: 13px !important;
        font-family: Arial !important;
        content: "▪" !important;
    }
    
    [data-subtype="u"] > [data-subtype="u"] .li[data-subtype="u"] > .protyle-action::before {
        content: "•" !important;
    }
    
    [data-subtype="u"] > [data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] > .protyle-action::before {
        content: "◦" !important;
    }
    
  • 思源笔记的标签层级不够明显;进度条需要优化

    2024-01-30 20:02

    我用了写味主题、headingIndex 插件、CSS 片段实现了这样的效果:

    image.png

    /* 左右移动标题位置 CSS片段 */
    .b3-typography>.h1,
    .protyle-wysiwyg>.h1 {
        margin-left: -35px; /* 负值可以根据需要进行调整 */
    }
    
    .b3-typography>.h2,
    .b3-typography>.h3,
    .b3-typography>.h4,
    .b3-typography>.h5,
    .b3-typography>.h6,
    .protyle-wysiwyg>.h2,
    .protyle-wysiwyg>.h3,
    .protyle-wysiwyg>.h4,
    .protyle-wysiwyg>.h5,
    .protyle-wysiwyg>.h6 {
        margin-left: -20px; /* 负值可以根据需要进行调整 */
    }
    
  • 思源笔记的标签层级不够明显;进度条需要优化

    2024-01-30 19:56

    另一个问题是右边那个蓝色的应该是进度条吧,电脑上还有一个进度条能用,手机上只有这一个进度条,反应特别迟钝,拖动几乎没法用

    那个实际上是用于定位特定的块,所以是靠点击而不是拖动的:

    image.png

    电脑上的话还可以自己用 CSS 片段改滚动条的样式,手机上就没用了:

    /* 滚动条样式 CSS片段 */
    ::-webkit-scrollbar
     {
       width: 10px; /* 粗细 */
     }
    
    ::-webkit-scrollbar-thumb {
         border: 1px solid #8080804a; /* 边框颜色 */
         background-color: #B5B5B5; /* 颜色 */
         box-sizing: content-box;
     	border-radius: 10px !important; /* 粗细 */
     }
    
    /* 在鼠标悬停时的样式 */
    ::-webkit-scrollbar-thumb:hover{
         background-color: #696969; /* 颜色 */
     }
    
  • 页签切换位置

    2024-01-30 19:49

    我更喜欢放在右侧,因为我从来不用这个(使用频率应该是比较低的),所以第一个文档顶到最左边就好

  • 求一个无序列表样式的 CSS 代码片段

    2024-01-30 17:07

    写好了,先试试看行不行,没 BUG 的话请采纳:

    /* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg{
        color:transparent;
    }
    
    [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before {
        font-size: 1.5em;
        line-height: 1;
        margin-bottom: 0px;
        margin-left:13px;
        font-family: Arial;
        content: "▪";
    }
    
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "•";
    }
    [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{
        content: "◦";
    }
    

    代码修改自:https://github.com/royc01/notion-theme/blob/d3c959bea725f37d631934959c9e9d2613fbfeb3/style/module/unordered-list.css

  • 希望能调整嵌入块的高度

    2024-01-30 16:05

    可以参考这个,不过可能稍微有点麻烦: 利用 CSS 代码片段限制块的高度

  • 设置文字外观中没有完全应用格式

    2024-01-30 16:01

    加粗应该是不算在外观内的

  • 建议顶栏的订阅皇冠显示开关

    2024-01-30 16:00

    用这个:

    image.png

    image.png