Ankio

Results 11 comments of Ankio

试试新版本:https://github.com/AnkioTomas/bluetooth/releases/

试试新版本:https://github.com/AnkioTomas/bluetooth/releases/

试试新版本:https://github.com/AnkioTomas/bluetooth/releases/

> 好兄弟,我寻思这套代码没有用户,没有cookie,就算有xss也弹不了cookie鸭 @S2eTo 有的网站使用nginx反向代理,将kkfileview融入到自己的内部产品来。 例如 将 /view?url=路径代理到kkfileview服务,此时如果kkfileview服务存在xss,又被nginx反代回来,就会导致主站的cookie或者其他数据泄露。

```css .table-div { /* scrollbar-width: thin; */ /* scrollbar-color: #e1e1e1 #f3f3f3; */ } ``` 研究发下是这两个属性导致的,Chrome最近更新了滚动条的默认行为。 如果使用上面这两个属性设置滚动条,默认情况下滚动条会自动隐藏,除非你进行了滚动行为。 ```css .table-div::-webkit-scrollbar-thumb { background-color: #f3f3f3; border-radius: 10px; } .table-div::-webkit-scrollbar { display: block; width: 12px;...

你们现在的主题写了太多了重复性代码.... ![image](https://github.com/Tencent/cherry-markdown/assets/155616939/ff1bada9-a5cc-4376-aaec-e534803a29b6) 主题个人觉得用css变量的形式更方便一点?例如可以给变量加前缀: 默认主题(写到对应的scss文件里`core/Detail.scss`): ```css .theme{ --detail-summary-color:#000; } ``` 其他主题的话(`themes/light.scss`),直接覆盖变量就好了 ```css .theme-light{ --detail-summary-color:#111; } ``` 而且现在的主题和cherry的耦合度太高了,都是一次性打包进cherry。 可以拆离开来,分离成一个个css,即便用户不引用主题的css,也有一个内置的默认主题可用。 用变量还有个好处就是,如果我只是想修改主题的颜色,我不用写一大段的css语法选择器去覆盖默认的主题

cherry有联想功能的,可以自己改:[SuggestList.js](https://github.com/Tencent/cherry-markdown/blob/main/src/core/hooks/SuggestList.js) 等官方改完太慢了

直接引入就好了 ```html ``` 参考: [Cherry Muse](https://wiki.ankio.net/@page/dg5hjymmfanw239x)

nginx ![1730353956252](https://github.com/user-attachments/assets/8bca20b1-7c79-4b30-a947-70b7506e2110) php容器 ![image](https://github.com/user-attachments/assets/0182d94e-5e7d-4029-8cc9-3f11f6eaa249)