Releases: purocean/yn
Releases · purocean/yn
v3.39.0
- feat: 增加上传所有图片功能
- feat: 宏替换增加
$afterMacro
方法,支持处理宏替换后的文档内容 - feat: 增加排除文件正则表达式设置
- fix: 修复使用快速打开面板不能正确打开加密文件问题
- fix: 修复某些情况下编辑器补全内容插入不正确问题
- feat(plugin): 配置项支持自定义校验器
validator
字段 - feat(plugin): 支持配置编辑器简单补全条目,相关 Api:
ctx.editor.tapSimpleCompletionItems
,ctx.editor.getSimpleCompletionItems
- feat(plugin): 增加
ctx.doc.createCurrentDocChecker
方法
- feat: add the function of uploading all pictures
- feat: added
$afterMacro
method for macro replacement, which supports processing the content of the document after macro replacement - feat: add regular expression settings for excluded files
- fix: fix the problem that encrypted files cannot be opened correctly using the quick open panel
- fix: fixed the problem that the editor's completion content was inserted incorrectly in some cases
- feat(plugin): configuration item supports custom validator
validator
field - feat(plugin): support simple completion of items in configuration editor, related Api:
ctx.editor.tapSimpleCompletionItems
,ctx.editor.getSimpleCompletionItems
- feat(plugin): add
ctx.doc.createCurrentDocChecker
method
v3.38.1
- fix: 修复 Windows、Linux 上自定义编辑器字体无效问题
- fix: 修复复制文件失败却提示成功问题
- fix: fix custom editor font setting not working on Windows and Linux
- fix: fix the problem that the copy file fails but prompts for success
v3.38.0
- feat: 文件侧栏支持拖拽移动/拷贝(按住 Alt/Option 键)文档
- feat: 增加切换侧栏“文件”/”大纲“视图的快捷键
Shift + Alt/Option + O
- feat: 打开大纲面板时候自动聚焦筛选输入框
- feat: 升级
markdown-it
到13.0.1
,元素属性书写支持转义 - feat: 图片不再全部作为块元素渲染,现在仅在段落只有一张图片时才渲染为块元素
- feat: 增加 Emoji 解析
- feat: 点击锚点跳转时高亮标题
- feat: 增加编辑器字体配置项
- fix: 修复锚点链接大写时无法跳转的问题
- fix: 修复文档历史面板中的编辑器可能尺寸不正确问题
- fix: 修复编辑器补全菜单会被遮挡的问题
- fix: 修复临时标签被固定时候字体还是斜体的问题
- fix: 删除/移动文件如果和当前打开的文件无关,不再校验当前文件是否保存
- feat(plugin): 增加
ctx.api.copyFile
方法 - feat(plugin): 增加
ctx.doc.isMarkdownFile
方法 - feat(plugin): toast 支持传入 Vue 组件或 VNode 对象自定义渲染内容
- feat(plugin): 增加
layout.toggle-outline
Action
- feat: document sidebar supports drag and drop to move/copy (hold Alt/Option key) documents
- feat: add shortcut key for switching sidebar "File"/"Outline" view
Shift + Alt/Option + O
- feat: auto-focus filter input box when opening outline panel
- feat: upgrade
markdown-it
to13.0.1
, element attribute writing supports escaping - 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
- feat: add Emoji parsing
- feat: highlight title when clicking anchor to jump
- feat: add editor font configuration item
- fix: fix the problem that the anchor cannot jump when capitalized
- fix: fix the issue that the editor in the document history panel may be incorrectly sized
- fix: fix the issue that the editor completion menu will be overflow
- fix: fix the problem that the font is still italic when the temporary label is fixed
- 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
- feat(plugin): add
ctx.api.copyFile
method - feat(plugin): add
ctx.doc.isMarkdownFile
method - feat(plugin): toast supports custom rendering content by passing in Vue component or VNode objects
- feat(plugin): add
layout.toggle-outline
Action
v3.37.0
- feat: 打开文件标签支持预览模式,双击标签或编辑内容可变更为编辑模式
- feat: 编辑器增加“在预览中聚焦“功能,快捷键
Alt/Option + L
- feat: 增加关于对话框
- upd: 打开空仓库时候总是展示创建文件按钮
- upd: 微调界面 UI
- upd: 关闭空白页时候增加内容保存提示
- fix: 修复打印时代码可能溢出问题
- feat(plugin): 增加
TREE_NODE_DBLCLICK
Hook - feat(plugin): 增加
ctx.lib.uuid
模块 - feat(plugin): 增加
ctx.view.highlightLine
方法 - upd(plugin): 调整
ctx.editor.highlightLine
方法参数
- feat: open the file tab to support preview mode, double-click the tab or edit the content to change to edit mode
- feat: add "Reveal Line in Preview" function to editor, shortcut key
Alt/Option + L
- feat: add about dialog
- upd: always show the create file button when opening an empty repository
- upd: fine-tuned UI
- upd: add content saving prompt when closing blank page
- fix: fix the problem that the code may overflow when printing
- feat(plugin): add
TREE_NODE_DBLCLICK
Hook - feat(plugin): add
ctx.lib.uuid
module - feat(plugin): add
ctx.view.highlightLine
method - upd(plugin): change
ctx.editor.highlightLine
method parameters
v3.36.1
- feat: 支持在应用内部打开包含
__allow-open-window__
的链接 - fix: 修复暗色主题样式
- fix: 修复大纲标题聚焦问题
- feat: support opening links containing
__allow-open-window__
inside the app - fix: fix dark theme style
- fix: fix outline title focus problem
v3.36.0
- feat: 优化编辑器选项卡展示,增加快速搜索选项卡功能
- feat: 目录大纲增加过滤功能
- upd: 调整 对话框,目录,上下文菜单、控制中心等元素的 UI
- upd: 仓库路径不存在时候报错
- fix: 修复 Windows 上文档大纲在窗口某个缩放级别时候不能展示下划线问题
- fix: 修复脑图不能使用两个空格缩进问题
- feat(plugin): 增加
ctx.components.QuickFilter
组件 - feat(plugin): 增加
ctx.command.Tab
常量 - feat(plugin): 增加
ctx.ui.useQuickFilter
方法 - feat(plugin): 增加
file-tabs.search-tabs
Action
- feat: optimize editor tab display, add quick search tab function
- feat: add filtering function to the directory outline
- upd: adjust the UI of dialogs, directories, context menus, control centers, etc.
- upd: an error is reported when the repository path does not exist
- fix: fix the issue that the document outline on Windows cannot display the underline at a certain zoom level of the window
- fix: fix the problem that the brain map cannot be indented with two spaces
- feat(plugin): add
ctx.components.QuickFilter
component - feat(plugin): add
ctx.command.Tab
constant - feat(plugin): add
ctx.ui.useQuickFilter
method - feat(plugin): add
file-tabs.search-tabs
action
v3.35.0
- feat: 文档行列信息展示增加更多信息
- feat: 增加双击更改尺寸表尺恢复默认尺寸功能
- feat: 创建文件对话框文件名默认选中名字主体部分
- fix: 修复 Reveal.js 不能显示脑图问题
- feat(plugin): 状态栏菜单标题支持自定义 Vue 组件
- feat(plugin): 增加
DOC_BEFORE_SAVE
钩子 - feat(plugin):
ctx.editor.getSelectionInfo
返回值增加选中行数、选区数量信息 - upd(plugin): 移除
ctx.store.state.selectionInfo
- feat: add more information to the document row and column information display
- feat: add double-clicking to change the size of the ruler to restore the default size
- feat: the main part of the name is selected by default in the file name of the file creation dialog
- fix: fix Reveal.js cannot display mindmap
- feat(plugin): status bar menu title supports custom Vue components
- feat(plugin): add
DOC_BEFORE_SAVE
hook - feat(plugin): add the number of selected rows and the number of selections of return value of
ctx.editor.getSelectionInfo
- upd(plugin): remove
ctx.store.state.selectionInfo
v3.34.4
- feat: 重构代码运行功能,增加 Code Runner 扩展,运行代码支持实时显示运行结果
- fix: 修复 Windows 上恢复最大化窗口状态后窗口显示不全问题。
- feat(plugin): 增加代码运行器注册,插件可以拓展代码功能了。相关 Api:
ctx.runner.registerRunner
ctx.runner.removeRunner
ctx.runner.getAllRunners
- upd(plugin): 调整
ctx.api.runCode
方法。调整参数,不再支持运行本地 Javascript 代码,支持流式获取运行结果 - upd(plugin): 移除
xterm.run-code
Action - upd(plugin): 调整
xterm.run
Action 参数类型
- feat: refactoring the code running function, adding Code Runner extension, running the code to support real-time display of running results
- fix: fix the problem of incomplete window display after restoring the maximized window state on Windows
- feat(plugin): added code runner registration, plugins can expand code functions. Related APIs:
ctx.runner.registerRunner
ctx.runner.removeRunner
ctx.runner.getAllRunners
- upd(plugin): adjust the
ctx.api.runCode
method, no longer support running local Javascript code, and support streaming access to running results - upd(plugin): remove
xterm.run-code
action - upd(plugin): adjust
xterm.run
action parameter type
v3.33.0
- fix: 修复打开文档字数统计信息不更新问题
- fix: 修复切换文件时候 front matter 没刷新问题
- upd: 导出 HTML 保留
data-*
属性 - upd: 优化
section
容器样式 - feat(plugin): 增加预览器注册,插件可以自定义文档预览界面。相关 Api:
ctx.view.switchPreviewer
ctx.view.registerPreviewer
ctx.view.removePreviewer
ctx.view.getAllPreviewers
扩展中心新增 “Markmap” 扩展,使用思维导图的方式查看 Markdown。感谢 Markmap
- fix: fix the problem that the word count statistics of open documents are not updated
- fix: fix the problem that front matter is not refreshed when switching files
- upd: export HTML preserves
data-*
attributes - upd: optimize
section
container style - 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
- feat: 状态栏菜单增加“导出”、“打印”菜单项
- feat: 打开终端默认切换到当前仓库目录
- feat: 增加“section”容器块
- upd: macOS 上默认禁用“保持后台运行”设置
扩展中心新增 “Reveal.js” 扩展,现在你可以使用 Yank Note 做幻灯片演示了。感谢 Reveal.js
- feat: added "Export" and "Print" menu items to the status bar menu
- feat: open the terminal and switch to the current warehouse directory by default
- feat: add "section" container block
- upd: the "Keep running in background" setting is disabled by default on macOS