Skip to content

Releases: purocean/yn

v3.39.0

07 Oct 11:29
Compare
Choose a tag to compare
  1. feat: 增加上传所有图片功能
  2. feat: 宏替换增加 $afterMacro 方法,支持处理宏替换后的文档内容
  3. feat: 增加排除文件正则表达式设置
  4. fix: 修复使用快速打开面板不能正确打开加密文件问题
  5. fix: 修复某些情况下编辑器补全内容插入不正确问题
  6. feat(plugin): 配置项支持自定义校验器 validator 字段
  7. feat(plugin): 支持配置编辑器简单补全条目,相关 Api:ctx.editor.tapSimpleCompletionItems, ctx.editor.getSimpleCompletionItems
  8. feat(plugin): 增加 ctx.doc.createCurrentDocChecker 方法

  1. feat: add the function of uploading all pictures
  2. feat: added $afterMacro method for macro replacement, which supports processing the content of the document after macro replacement
  3. feat: add regular expression settings for excluded files
  4. fix: fix the problem that encrypted files cannot be opened correctly using the quick open panel
  5. fix: fixed the problem that the editor's completion content was inserted incorrectly in some cases
  6. feat(plugin): configuration item supports custom validator validator field
  7. feat(plugin): support simple completion of items in configuration editor, related Api: ctx.editor.tapSimpleCompletionItems, ctx.editor.getSimpleCompletionItems
  8. feat(plugin): add ctx.doc.createCurrentDocChecker method

v3.38.1

04 Oct 09:59
Compare
Choose a tag to compare
  1. fix: 修复 Windows、Linux 上自定义编辑器字体无效问题
  2. fix: 修复复制文件失败却提示成功问题

  1. fix: fix custom editor font setting not working on Windows and Linux
  2. fix: fix the problem that the copy file fails but prompts for success

v3.38.0

03 Oct 13:37
Compare
Choose a tag to compare
  1. feat: 文件侧栏支持拖拽移动/拷贝(按住 Alt/Option 键)文档
  2. feat: 增加切换侧栏“文件”/”大纲“视图的快捷键 Shift + Alt/Option + O
  3. feat: 打开大纲面板时候自动聚焦筛选输入框
  4. feat: 升级 markdown-it13.0.1,元素属性书写支持转义
  5. feat: 图片不再全部作为块元素渲染,现在仅在段落只有一张图片时才渲染为块元素
  6. feat: 增加 Emoji 解析
  7. feat: 点击锚点跳转时高亮标题
  8. feat: 增加编辑器字体配置项
  9. fix: 修复锚点链接大写时无法跳转的问题
  10. fix: 修复文档历史面板中的编辑器可能尺寸不正确问题
  11. fix: 修复编辑器补全菜单会被遮挡的问题
  12. fix: 修复临时标签被固定时候字体还是斜体的问题
  13. fix: 删除/移动文件如果和当前打开的文件无关,不再校验当前文件是否保存
  14. feat(plugin): 增加 ctx.api.copyFile 方法
  15. feat(plugin): 增加 ctx.doc.isMarkdownFile 方法
  16. feat(plugin): toast 支持传入 Vue 组件或 VNode 对象自定义渲染内容
  17. feat(plugin): 增加 layout.toggle-outline Action

  1. feat: document sidebar supports drag and drop to move/copy (hold Alt/Option key) documents
  2. feat: add shortcut key for switching sidebar "File"/"Outline" view Shift + Alt/Option + O
  3. feat: auto-focus filter input box when opening outline panel
  4. feat: upgrade markdown-it to 13.0.1, element attribute writing supports escaping
  5. feat: images are no longer rendered as block elements at all, they are now rendered as block elements only when a paragraph has only one image
  6. feat: add Emoji parsing
  7. feat: highlight title when clicking anchor to jump
  8. feat: add editor font configuration item
  9. fix: fix the problem that the anchor cannot jump when capitalized
  10. fix: fix the issue that the editor in the document history panel may be incorrectly sized
  11. fix: fix the issue that the editor completion menu will be overflow
  12. fix: fix the problem that the font is still italic when the temporary label is fixed
  13. fix: If deleting/moving a file has nothing to do with the currently opened file, it no longer checks whether the current file is saved or not
  14. feat(plugin): add ctx.api.copyFile method
  15. feat(plugin): add ctx.doc.isMarkdownFile method
  16. feat(plugin): toast supports custom rendering content by passing in Vue component or VNode objects
  17. feat(plugin): add layout.toggle-outline Action

v3.37.0

23 Sep 15:18
Compare
Choose a tag to compare
  1. feat: 打开文件标签支持预览模式,双击标签或编辑内容可变更为编辑模式
  2. feat: 编辑器增加“在预览中聚焦“功能,快捷键 Alt/Option + L
  3. feat: 增加关于对话框
  4. upd: 打开空仓库时候总是展示创建文件按钮
  5. upd: 微调界面 UI
  6. upd: 关闭空白页时候增加内容保存提示
  7. fix: 修复打印时代码可能溢出问题
  8. feat(plugin): 增加 TREE_NODE_DBLCLICK Hook
  9. feat(plugin): 增加 ctx.lib.uuid 模块
  10. feat(plugin): 增加 ctx.view.highlightLine 方法
  11. upd(plugin): 调整 ctx.editor.highlightLine 方法参数

  1. feat: open the file tab to support preview mode, double-click the tab or edit the content to change to edit mode
  2. feat: add "Reveal Line in Preview" function to editor, shortcut key Alt/Option + L
  3. feat: add about dialog
  4. upd: always show the create file button when opening an empty repository
  5. upd: fine-tuned UI
  6. upd: add content saving prompt when closing blank page
  7. fix: fix the problem that the code may overflow when printing
  8. feat(plugin): add TREE_NODE_DBLCLICK Hook
  9. feat(plugin): add ctx.lib.uuid module
  10. feat(plugin): add ctx.view.highlightLine method
  11. upd(plugin): change ctx.editor.highlightLine method parameters

v3.36.1

16 Sep 09:11
Compare
Choose a tag to compare
  1. feat: 支持在应用内部打开包含 __allow-open-window__ 的链接
  2. fix: 修复暗色主题样式
  3. fix: 修复大纲标题聚焦问题

  1. feat: support opening links containing __allow-open-window__ inside the app
  2. fix: fix dark theme style
  3. fix: fix outline title focus problem

v3.36.0

13 Sep 10:56
Compare
Choose a tag to compare
  1. feat: 优化编辑器选项卡展示,增加快速搜索选项卡功能
  2. feat: 目录大纲增加过滤功能
  3. upd: 调整 对话框,目录,上下文菜单、控制中心等元素的 UI
  4. upd: 仓库路径不存在时候报错
  5. fix: 修复 Windows 上文档大纲在窗口某个缩放级别时候不能展示下划线问题
  6. fix: 修复脑图不能使用两个空格缩进问题
  7. feat(plugin): 增加 ctx.components.QuickFilter 组件
  8. feat(plugin): 增加 ctx.command.Tab 常量
  9. feat(plugin): 增加 ctx.ui.useQuickFilter 方法
  10. feat(plugin): 增加 file-tabs.search-tabs Action

  1. feat: optimize editor tab display, add quick search tab function
  2. feat: add filtering function to the directory outline
  3. upd: adjust the UI of dialogs, directories, context menus, control centers, etc.
  4. upd: an error is reported when the repository path does not exist
  5. fix: fix the issue that the document outline on Windows cannot display the underline at a certain zoom level of the window
  6. fix: fix the problem that the brain map cannot be indented with two spaces
  7. feat(plugin): add ctx.components.QuickFilter component
  8. feat(plugin): add ctx.command.Tab constant
  9. feat(plugin): add ctx.ui.useQuickFilter method
  10. feat(plugin): add file-tabs.search-tabs action

v3.35.0

06 Sep 11:28
Compare
Choose a tag to compare
  1. feat: 文档行列信息展示增加更多信息
  2. feat: 增加双击更改尺寸表尺恢复默认尺寸功能
  3. feat: 创建文件对话框文件名默认选中名字主体部分
  4. fix: 修复 Reveal.js 不能显示脑图问题
  5. feat(plugin): 状态栏菜单标题支持自定义 Vue 组件
  6. feat(plugin): 增加 DOC_BEFORE_SAVE 钩子
  7. feat(plugin): ctx.editor.getSelectionInfo 返回值增加选中行数、选区数量信息
  8. upd(plugin): 移除 ctx.store.state.selectionInfo

  1. feat: add more information to the document row and column information display
  2. feat: add double-clicking to change the size of the ruler to restore the default size
  3. feat: the main part of the name is selected by default in the file name of the file creation dialog
  4. fix: fix Reveal.js cannot display mindmap
  5. feat(plugin): status bar menu title supports custom Vue components
  6. feat(plugin): add DOC_BEFORE_SAVE hook
  7. feat(plugin): add the number of selected rows and the number of selections of return value of ctx.editor.getSelectionInfo
  8. upd(plugin): remove ctx.store.state.selectionInfo

v3.34.4

15 Aug 15:48
Compare
Choose a tag to compare
  1. feat: 重构代码运行功能,增加 Code Runner 扩展,运行代码支持实时显示运行结果
  2. fix: 修复 Windows 上恢复最大化窗口状态后窗口显示不全问题。
  3. feat(plugin): 增加代码运行器注册,插件可以拓展代码功能了。相关 Api: ctx.runner.registerRunner ctx.runner.removeRunner ctx.runner.getAllRunners
  4. upd(plugin): 调整 ctx.api.runCode 方法。调整参数,不再支持运行本地 Javascript 代码,支持流式获取运行结果
  5. upd(plugin): 移除 xterm.run-code Action
  6. upd(plugin): 调整 xterm.run Action 参数类型

  1. feat: refactoring the code running function, adding Code Runner extension, running the code to support real-time display of running results
  2. fix: fix the problem of incomplete window display after restoring the maximized window state on Windows
  3. feat(plugin): added code runner registration, plugins can expand code functions. Related APIs: ctx.runner.registerRunner ctx.runner.removeRunner ctx.runner.getAllRunners
  4. upd(plugin): adjust the ctx.api.runCode method, no longer support running local Javascript code, and support streaming access to running results
  5. upd(plugin): remove xterm.run-code action
  6. upd(plugin): adjust xterm.run action parameter type

v3.33.0

28 Jul 07:26
Compare
Choose a tag to compare
  1. fix: 修复打开文档字数统计信息不更新问题
  2. fix: 修复切换文件时候 front matter 没刷新问题
  3. upd: 导出 HTML 保留 data-* 属性
  4. upd: 优化 section 容器样式
  5. feat(plugin): 增加预览器注册,插件可以自定义文档预览界面。相关 Api: ctx.view.switchPreviewer ctx.view.registerPreviewer ctx.view.removePreviewer ctx.view.getAllPreviewers

扩展中心新增 “Markmap” 扩展,使用思维导图的方式查看 Markdown。感谢 Markmap
image


  1. fix: fix the problem that the word count statistics of open documents are not updated
  2. fix: fix the problem that front matter is not refreshed when switching files
  3. upd: export HTML preserves data-* attributes
  4. upd: optimize section container style
  5. feat(plugin): Added previewer registration, plugins can customize the document preview interface. Related APIs: ctx.view.switchPreviewer ctx.view.registerPreviewer ctx.view.removePreviewer ctx.view.getAllPreviewers

v3.32.0

14 Jul 09:01
Compare
Choose a tag to compare
  1. feat: 状态栏菜单增加“导出”、“打印”菜单项
  2. feat: 打开终端默认切换到当前仓库目录
  3. feat: 增加“section”容器块
  4. upd: macOS 上默认禁用“保持后台运行”设置

扩展中心新增 “Reveal.js” 扩展,现在你可以使用 Yank Note 做幻灯片演示了。感谢 Reveal.js


  1. feat: added "Export" and "Print" menu items to the status bar menu
  2. feat: open the terminal and switch to the current warehouse directory by default
  3. feat: add "section" container block
  4. upd: the "Keep running in background" setting is disabled by default on macOS