洋子

Results 58 comments of 洋子

参考 https://github.com/purocean/yn/pull/153#issuecomment-1129481749

现在只能通过dom元素对应源码行号来改变源码。表格中的处理很复杂,受限 [markdown-it-multimd-table](https://github.com/RedBug312/markdown-it-multimd-table) 这个插件,不一定能处理好,先记着

### 我日常使用的一些小工具 - File to Base64 - SVG to Markdown Image - SVG to PNG - Unix 时间戳 - URL 编码解码 - Hash - Base64 - 进制转换 点击展开代码 ~~~ #...

### Tello 遥控器 视频:https://www.bilibili.com/video/BV1W34y1Z7jf ![image](https://user-images.githubusercontent.com/7115690/140615943-1c7ca909-894c-41cc-92c1-e833e58f8903.png) 点击展开代码 ~~~ # Tello 遥控器{style="color:#00ffe9"} 使用 Markdown 控制 Tello ```html function exec (cmd) { ctx.ui.useToast().show('info', cmd); ctx.api.runCode('bash', `echo '${cmd}' | nc -cuw 1 192.168.10.1 8889`)...

> :warning: 下面两个功能,都可以在拓展中心安装扩展来实现 ### Git 推送按钮 推送到 Git 仓库这个功能,现在可以编写插件实现。 ```js window.registerPlugin({ name: 'git-push', register: ctx => { ctx.statusBar.tapMenus(menus => { menus['git-push'] = { id: 'git-push', position: 'left', title: 'Git 提交',...

在文档中嵌入天气预报 ![image](https://user-images.githubusercontent.com/7115690/143518517-20d6eed1-cf62-4357-8275-c39057cf9222.png) ~~~ --- enableMacro: true --- ```{onclick="ctx.view.refresh()"} Updated at: [= $ctx.lib.dayjs().format('YYYY-MM-DD HH:mm') =] [= fetch('https://wttr.in?0AT').then(r => r.text()) =] ``` ~~~

**流畅的编辑体验** ![Untitled](https://user-images.githubusercontent.com/7115690/144961847-f8bd73e8-3133-4203-8442-9c9567102fed.gif) **转换链接和图片** ![Untitled](https://user-images.githubusercontent.com/7115690/144819821-01557a4b-34ab-4431-a763-81f6a4f8b1a5.gif) **Emoji** ![Untitled](https://user-images.githubusercontent.com/7115690/145947446-239e6b4f-542c-41b7-9819-2e233c0a57b1.gif) **路径补全** ![Untitled](https://user-images.githubusercontent.com/7115690/157662126-4f51f7bd-7355-4d33-8370-f0d51b0f44ce.gif)

因为沙盒和审核机制的限制,Mac App Store 的 Yank Note 有如下缺陷: 1. 没有内置终端 2. 不能使用“在浏览器中打开”功能 3. 不能使用“分享”功能 4. 代码运行功能受限 5. 一些插件能力受限,如上面的 “Git 提交” 插件 6. 沙盒可能会产生一些问题 #102 #83 如果你更注重内容安全,可以使用 Mac App Store 的版本,否则还是使用 GitHub...

我的设备上没能复现。如果方便,可以加项目下面微信详细沟通一下