v1.6 大版本更新说明1
这次更新的重点是改善应用程序中的一些长期存在的痛点。最值得注意的是,我们已经彻底检查了应用程序界面,以更好地支持右到左(RTL)语言。现在,当应用程序语言被设置为 RTL 语言时,整个界面将被镜像。我们也在提高脚注的编辑和阅读体验方面给予了很大的关注。这个版本充满了 bug 修复,但在加载应用程序和编辑应用程序时,您可能还会注意到一些性能改进。
重要内容
- 支持 RTL。当应用程序被设置为 RTL 语言时,界面方向现在被镜像。
- 更新左侧工具条布局。一个新的 Vault 切换器现在显示在底部。App Ribbon 现在可以隐藏在设置中,或者右键单击色带并选择”Hide ribbon”。
- 字符和单词计数现在根据当前的文本选择进行更新。
- 更快的工作空间加载。
- 更快的编辑器解析。
其它更新
Improvements
- “Tab” 现在将在快速切换和“移动文件”模式中完成当前选择文件的路径段。
- 添加 “Add alias ”命令。
- 增加了“创建新文件夹”命令。
- 在应用外修改设置文件,热键和属性类型现在会自动重新加载。
- 添加自定义指令和结果时,添加显示文本的链接。
- 提示符现在有一个”clear”按钮来清除输入。在没有输入的情况下按下按钮将会使提示消失。
- 页面预览弹出窗口现在应该有更一致的大小和定位。
Footnotes
- 使用
[^
为脚注引用添加自动补全2。 - 修正了编辑器中脚注的解析和渲染。
- 增加了对内联脚注的悬浮预览支持^[这是一条内联注脚,格式为
^[content]
]。 - 悬停在一个脚注ID上,会弹出一个相应的脚注。
Properties
- 当合并两个属性时,新的属性名称将在全局属性列表中刷新。
- 现在属性列表项可以通过双击来编辑了。
- 如果打开的文件有无效的 frontmatter3,属性视图上会出现编辑按钮。
No longer broken
各种 bug 修复1
Formatting
- 修正了有换行符情况时的不正确格式应用。
- 现在切换项目列表命令(Toggle bullet list)会把任务列表变成项目列表。
- 修正了切换格式命令有时在编辑器的最后一行不起作用。
Settings
- 改进了设置内部登录界面的布局。
- 对安装社区主题和插件时显示的通知进行了小幅更新。
- 使用“adapt to system”时,“Light themes only”切换不再显示。
- 改进了命令调色板重新排序的拖放功能。
- 修正了重新排序处理程序在弹出窗口中不工作。
Search
- 键入引号字符串时不触发搜索建议。
- 除非光标在查询的最后,或者下一个字符是空格,否则不会显示搜索建议。
- 点击“清除”按钮将不会导致搜索输入失去焦点。
Table
- 点击 table 右侧边距(margin),现在编辑器会聚焦。
- 修复 shift +箭头键不响应。
- 确保主编辑器的单元格更新正确更新单元格偏移量。
- 修复在表格单元格内解析数学块(math blocks)。
- 修复在表格单元格内双击不工作。
- Fixed rendering tables inside callouts.
Source mode
- Fixed pressing
End
key not moving to end of line if cursor is in table.
Live Preview
- Fix callout menu overlapping with URL menu when right-clicking on a link.
- Fix failing to render headings with trailing
#
at the end of the line. - Fixed checklist items getting unfolded if cursor was inside a folded region.
- Allow blank lines in multi-line footnotes.
Reading mode
- Reading mode will no longer render footnote refs that contain spaces.
- Fixed rendering of inline footnotes in reading mode.
Themes
- Switched to Cascadia Mono instead of Cascadia Code for default monospace on Windows.
- Bold is now computed based on the current text weight, so bold inside a heading will still appear bold.
- Added
--caret-color
CSS variable to make it easier to style caret color on both desktop and mobile. - Added new
--link-weight
variable. - The user’s interface language is added to the
lang
attribute on thehtml
element, which allows language-specific CSS rules. - The
.mod-rtl
class is added tobody
element when the user’s interface language is RTL.
Plugins
- Fixed
processFrontmatter
failing to process file if all properties are removed. - Improve detection of external config changes.
- We’ve made several improvements to the behavior of
app.emulateMobile
that should make it easier to test that your plugins are mobile-compatible. Attempting to run a NodeJS library will present a Notice. Drag and drop will more accurately mirror the behavior on mobile. The app will have defaultsafe-area-inset
properties set so that your views properly account for offsets in the mobile device viewport (such as the iPhone Dynamic Island). - Bare modals should respect
safe-area-insets
by default. - Added loading state to some of the settings button that make remote requests.
- Global
app
has been completely removed from the API spec (previously it was marked as deprecated).
Reference
Frontmatter is a way to define properties by adding YAML or JSON at the top of the note. See also Property format. ↩︎