Skip to content

Quiet 0.2.2

Choose a tag to compare

@s1dashu s1dashu released this 05 Dec 10:36

Quiet 0.2.2

中文

这个版本带来 Vim 模式、拼音搜索、两端对齐和首行缩进、文件夹各自的排序、全键盘操作和 Mermaid 图表的回归,空闲时几乎不再占用 CPU,并大幅改进了 Markdown 和 Obsidian 库的兼容性。

  • 空闲时几乎不占 CPU(#497):文件夹和文档不再每隔几秒扫描一遍磁盘,改由系统通知(macOS 的 FSEvents、Windows 的 ReadDirectoryChangesW)告诉 Quiet 哪里变了;光标停止输入 10 秒后不再闪烁,窗口在后台时也不闪;倒计时、提醒、图片清理只在需要时才运行;Windows 上没有变化时不再按屏幕刷新率重绘。Linux 和网络盘、移动盘照旧定时检查。
  • 多端同步(测试版):用 Google 账号登录后,在设置 › 同步里打开文件夹的同步开关,就能在多台电脑之间自动同步,一处编辑约 4.5 秒后出现在另一台;第一次上传和下载分批进行,有进度,中断后接着传。两台设备改了同一段时不再生成副本,而是留下冲突记录,可以选「保留这台设备的」「用 <另一台设备> 的」或「都保留」;被换掉的那台也会看到提示,可以「恢复我的」。云端保存版本历史,可以恢复;最近移除的文件夹、导出数据、删除账号都在设置 › 同步里。Windows 不允许的文件名留在原设备上,单独列出来,不会卡住整个文件夹。测试期间每个账号 2 GB 云端空间,单个文件最大 1 GB。网页版在 app.quiet.md,iOS 版通过 TestFlight 公开测试:https://testflight.apple.com/join/ewgHUFfT 。
  • 设置重新分页:「同步」页集中管理每个文件夹放在哪里、同步状态和账号;新增「编辑」页(输入、新建、快速笔记、保留的版本数)和「网络与隐私」页(网络图片、检查更新、使用统计)。
  • 写作和编辑:
    • Vim 模式(来自 #286 的贡献):设置 › 通用 › 编辑里打开,或按 ⌘⇧J(Windows 和 Linux 上 Ctrl+Shift+J)随时切换;支持 Normal、Insert、Visual 模式,常用移动、操作符、文本对象、计数、. 重复和 Flash 跳转,一条命令是一步撤销;
    • 两端对齐:正文段落可以设为两端对齐(块菜单「缩进和对齐」或浮动工具栏的对齐菜单),中英文都会拉匀字距,导出也保留;
    • 首行缩进:文档菜单「全文首行缩进」一次给所有正文段落加上两个全角空格,Markdown、阅读模式和导出都一致;
    • 链接可以指向本文的某个标题([文字](#标题)),点击跳到那里;
    • 在标题开头输入 1.1.、1.1.1. 这类多级编号,会自动打开标题编号;Markdown 页面不能存自动编号,保留你输入的编号;
    • 表格可以加一行标题(表注),支持行内公式;
    • 文档可以在 Quiet 文档和 Markdown 之间互相转换(侧栏右键菜单),链接和历史跟着走;
    • 鼠标的后退 / 前进侧键、菜单「前往 › 后退 / 前进」(⌘[ / ⌘])在打开过的文档之间来回;
    • 按住 ⌘ 滚动滚轮恢复为滚动正文,只有触控板捏合和 ⌘+ / ⌘− 缩放正文;
    • ⌘+ / ⌘− 缩放平滑过渡,正在读的那一行不再跳;
    • 文档有子文档时,文末引用区第一个标签显示「子文档」,列出它的子文档,点击打开;没有子文档时不显示;
    • 代码块的语言菜单挂在按钮正下方;
    • 照片按 EXIF 方向显示,竖拍的照片不再躺倒;
    • 快速笔记可以设子文件夹、命名格式,关闭时自动删掉空笔记。
  • 搜索:
    • 拼音搜索:中文标题可以用全拼(biji)、首字母(bj)或混拼(bji)找到,搜索、数据库的选择器、@ 提及、# 标题链接、移动到、字体和快捷键设置里都能用(#563);
    • 输入法还在组字时,各种弹出列表不再按未上屏的拼音筛选,面板不会跳(#563);
    • 搜索框新增区分大小写、全词匹配、只搜标题三个选项(#262);分开的几个词各自都能匹配,一个页面的多处命中逐条列出,点哪条就打开到哪里(#467)。
  • 文件夹和侧栏:
    • 每个文件夹可以有自己的排序(右键菜单 › 排序),不设就跟随全局;排序新增「类型」,标题按自然顺序排;
    • 同名的顶层文件夹在名字后面淡色显示所在位置,便于区分;顶层文件夹的「重命名」写明改的是磁盘上的文件夹(#561);
    • 文档和文件夹的右键菜单新增「复制路径」「复制相对路径」,方便交给 AI 工具(#549);
    • 打开页面时侧栏不再自动展开它所在的文件夹(#556);单击文件夹行就能展开或收起(#470);
    • 新建菜单的导入项收进「导入 ›」子菜单。
  • 全键盘操作:Tab / Shift+Tab 在按钮和控件间移动并显示焦点环,F6 在侧栏、正文等区域之间切换;侧栏的树、文件夹页的卡片和列表、菜单、开关、滑块、设置页都能用键盘操作;对话框把焦点留在里面,Esc 关闭菜单。
  • 设置:
    • 外观 › 标题:页面标题可以设为默认、小号,或在光标进入前隐藏(#558);
    • 外观 › 文档大纲:放在左边、右边或不显示(#518);大纲放不下时浮在正文上方,标题里的行内公式在大纲里显示为公式;
    • 外观 › 代码字体:选择行内代码和代码块的字体(#495);
    • 通用里新增「单独打开的文件收起侧栏」:单独打开的 Markdown 文件开在没有侧栏的窗口里(#468);
    • macOS 新增全局「显示 / 隐藏 Quiet」快捷键,设置后生效(#408);
    • 新增越南语界面;其他各语言的翻译都重新校对过。
  • Markdown 和 Obsidian:
    • 编辑 Markdown 文件时,只改动过的块重写,其他内容逐字节保持原样:列表项下的缩进和空行(#562)、* / + 列表、1) 编号、~~~ 围栏、Obsidian 的任务状态、嵌套提示块、HTML 和脚注都原样保留;
    • 在 Markdown 页面的标题里打的 1.、1.1. 编号保持原样;
    • Obsidian 库里插入图片和附件时,按库设置的附件位置、文件名和链接写法保存,在 Obsidian 里能直接看到(#513);
    • 移动或重命名页面时,[[双链]] 和 ![[嵌入]] 跟着更新(Obsidian 设为不更新链接的库保持不变);
    • 在 Obsidian 库或以 .md 为主的文件夹里,⌘N 和快速笔记新建 Markdown;
    • Markdown 文件里折叠的标题、列表项和代码块会被记住(#531);
    • 新文档库会写一份 .quiet/.gitignore,放在 git 里的库不会提交 Quiet 的本地文件;
    • 访达里单独打开的 Markdown 文件只开它自己的窗口,不再带出主窗口;没有打开任何文件夹时也能单独打开(#520);
    • Mermaid 图表回来了:改用内置的 pele-rs 渲染,覆盖流程图、时序图、类图、状态图、甘特图、思维导图等 13 种(#484)。
  • 数据库和表格:比可视区域宽的表格一直显示横向滚动条(Windows 上鼠标滚轮只能竖着滚);点击滚动条轨道直接跳到那里;单行单元格的文字双击编辑时不再下沉半点。
  • 图片和附件:图片工具栏显示文件位置,可以复制路径、在访达中显示;找不到的图片会显示查找过的位置(#544);「清理未使用资源」会检查 .assets/files/ 里的附件(#566);远程图片用浏览器的方式下载。
  • 导出:导出 PDF 跟随文档主题(如飞书主题)的标题、复选框、高亮块样式,并使用你设置的文档字体和字号。
  • 更新:新版本在后台下载并校验,下好后侧栏出现「更新」按钮,点一下重启进入新版本;按流量计费的网络和离线时不检查。
  • Windows 和 Linux:
    • 应用已在运行时打开文件,交给正在运行的那份,不再开第二个(#436);
    • Windows 10 上窗口不再有边框线;中文环境下汉字回退到简体中文字体;阿拉伯文、希伯来文从右往左排(#507);应用图标填满方块;
    • Linux 上图标和文字对齐。
  • 其他修复:
    • 按钮、菜单项、开关保持箭头光标,只有链接显示手形(#538);
    • 画板的菜单和控件与顶栏路径对齐(#526);
    • 删除确认框里按回车是「取消」;再次点击菜单按钮会关闭菜单;
    • 回收站里每一行显示原来的图标;
    • 倒计时在深色模式下冒号后面不再有灰条;
    • 侧栏右键「新建文档」和 ⌘N 新建同一种类型;
    • 大 Markdown 文件在后台读取和解析,打开更快;Markdown 解析恢复到 0.1.14 的速度。
  • 命令行:quiet 覆盖了应用菜单里的几乎所有操作——重命名、移动、删除、置顶、复制、回收站、历史版本、设置、清理附件、属性、转换、导出、导入思源、表格和画板操作,以及把多步操作合成一次提交的批处理;附 GUI 和 CLI 的对照表。

English

This version brings Vim mode, pinyin search, justified text and first-line indent, a sort of its own for each folder, full keyboard control and the return of Mermaid diagrams. Quiet now uses almost no CPU while idle, and Markdown files and Obsidian vaults are kept far more faithfully.

  • Almost no CPU at rest (#497): folders and documents are no longer scanned every few seconds; the system tells Quiet what changed (FSEvents on macOS, ReadDirectoryChangesW on Windows). The caret stops blinking 10 seconds after you stop typing, and doesn't blink in a window in the background. Countdowns, reminders and picture cleanup run only when needed, and on Windows nothing is redrawn at the display's refresh rate while nothing changes. Linux and network or removable drives keep checking on a timer.
  • Sync across devices (beta): sign in with Google and turn on a folder's switch in Settings › Sync, and it stays in step across your computers; an edit shows up on the other one in about 4.5 seconds. A first upload or download goes in batches with progress and picks up where it stopped. When two devices change the same paragraph, Quiet keeps a conflict record instead of a copy: Keep this device’s, Use the other device’s or Keep both, and the device whose paragraph was replaced is told and can Restore mine. The cloud keeps version history you can restore from; recently removed folders, export and deleting your account are in Settings › Sync. A file name Windows can't write stays on the device that has it and is listed, without stopping the folder. During the beta each account has 2 GB in the cloud, and a single file can be up to 1 GB. The web app is at app.quiet.md, and the iOS app is in public beta on TestFlight: https://testflight.apple.com/join/ewgHUFfT .
  • Settings, re-sorted: Sync gathers where each folder is kept, its state and your account; Editing (typing, New, quick notes, versions kept) and Network & Privacy (web images, the update check, usage statistics) are pages of their own.
  • Writing and editing:
    • Vim mode (contributed in #286): turn it on in Settings › General › Editing, or toggle it any time with ⌘⇧J (Ctrl+Shift+J on Windows and Linux). Normal, Insert and Visual modes, the usual motions, operators, text objects, counts, . and Flash jumps; one command is one undo step;
    • justified text: body paragraphs can be justified (the block menu's Indent and Align, or the floating toolbar's align menu), evening out the gaps in Chinese and English alike, and exports keep it;
    • first-line indent: the document menu's Indent All Paragraphs gives every body paragraph two full-width spaces at once, the same in Markdown, reading mode and exports;
    • a link can point to a heading in the same page ([text](#heading)) and jumps there;
    • typing a multi-level number such as 1.1. or 1.1.1. at a heading's start turns heading numbering on; Markdown pages, which can't store auto-numbering, keep the number you typed;
    • tables can carry a caption line, with inline formulas;
    • a document converts between a Quiet document and Markdown (the sidebar's right-click menu), and its links and history follow it;
    • a mouse's back / forward side buttons and Go › Back / Forward (⌘[ / ⌘]) move between the documents you opened;
    • ⌘-scrolling scrolls the note again; only a trackpad pinch and ⌘+ / ⌘− zoom its text;
    • ⌘+ / ⌘− zoom glides to the new size, and the line you are reading stays put;
    • a document with subdocuments shows a Subdocuments tab first in the references at its end, listing them to open with a click; without subdocuments there is no tab;
    • a code block's language menu hangs right under its button;
    • photos follow their EXIF orientation, so portrait shots stand upright;
    • quick notes can go into a subfolder, take a name format and remove themselves when closed empty.
  • Search:
    • pinyin: Chinese titles are found by full pinyin (biji), initials (bj) or a mix (bji), in search, a database's pickers, @ mentions, # heading links, Move To, fonts and shortcut settings (#563);
    • pop-up lists no longer filter by the pinyin an input method is still composing, so they hold still while you pick a word (#563);
    • the search box has Match Case, Whole Word and Titles Only (#262); words apart are each found, and a page lists its further hits, each opening where it is (#467).
  • Folders and sidebar:
    • each folder can have a sort of its own (right-click › Sort) or follow the global one; a Kind order is new, and titles sort naturally;
    • top-level folders of the same name show faintly where each one is; Rename on a top-level folder says it renames the folder on disk (#561);
    • documents and folders have Copy Path and Copy Relative Path, handy for AI tools (#549);
    • opening a page no longer unfolds its folders in the sidebar (#556); one click on a folder's row folds or unfolds it (#470);
    • the New menu's import rows move into an Import › submenu.
  • Full keyboard control: Tab and Shift+Tab move between buttons and controls with a focus ring, and F6 moves between the sidebar, the page and other parts. The sidebar tree, a folder page's cards and rows, menus, switches, sliders and the settings pages all work from the keyboard; dialogs keep the focus inside, and Esc closes menus.
  • Settings:
    • Appearance › Title: the page title at the default size, small, or hidden until the caret goes to it (#558);
    • Appearance › Outline: on the left, on the right or hidden (#518); an outline that doesn't fit the margin floats over the text, and inline formulas in headings show as formulas there;
    • Appearance › Code Font picks the face for inline code and code blocks (#495);
    • No Sidebar for Files Opened Alone: a Markdown file opened on its own gets a window without the sidebar (#468);
    • on macOS, a global Show / Hide Quiet hotkey, off until you set a key (#408);
    • a Vietnamese interface; every other language's translation was reviewed.
  • Markdown and Obsidian:
    • editing a Markdown file rewrites only the blocks you changed and keeps everything else byte for byte: the indents and blank lines under a list item (#562), * and + bullets, 1) numbers, ~~~ fences, Obsidian task states, nested callouts, HTML and footnotes;
    • numbers typed into headings of a Markdown page stay as typed;
    • in an Obsidian vault, pictures and attachments are saved where the vault keeps attachments, named and linked the way the vault does, so Obsidian shows them (#513);
    • moving or renaming a page updates [[wikilinks]] and ![[embeds]] to it (a vault set not to update links keeps them);
    • ⌘N and quick notes make Markdown in an Obsidian vault or a folder of mostly .md files;
    • folded headings, list items and code blocks in a Markdown file are remembered (#531);
    • a new library writes .quiet/.gitignore, so a library kept in git leaves Quiet's local files out;
    • a Markdown file opened from the Finder opens in its own window without the main window, also when no folder is open (#520);
    • Mermaid diagrams are back, drawn by a built-in pele-rs: flowcharts, sequence, class, state, Gantt, mind maps and more, 13 kinds in all (#484).
  • Databases and tables: a table wider than its room keeps its horizontal scrollbar shown (on Windows a mouse wheel only scrolls down); a press on a scrollbar's track jumps there; one-line cells no longer drop half a point when double-clicked into.
  • Pictures and attachments: the picture toolbar shows where the file is, copies its path and shows it in the Finder, and a missing picture shows where it was looked for (#544); Remove Unused Assets checks attachments in .assets/files/ (#566); remote pictures download the way a browser fetches them.
  • Export: PDF export follows the document's theme (Feishu's, say) for headings, checkboxes and callouts, at your document font and size.
  • Updates: a new version downloads and is verified in the background; once ready, an Update button appears in the sidebar and one click restarts into it. Metered and offline connections are skipped.
  • Windows and Linux:
    • a file opened while Quiet runs goes to the running copy instead of starting another (#436);
    • no border lines around the window on Windows 10; Han characters fall back to a Simplified Chinese face in a Chinese locale; Arabic and Hebrew run right to left (#507); the app icon fills its square;
    • on Linux, text keeps level with its icons.
  • Other fixes:
    • buttons, menu items and switches keep the arrow pointer; only links show the hand (#538);
    • the board's menu and controls line up with the path above (#526);
    • Return on a delete confirmation is Cancel; pressing an open menu's button again closes it;
    • each Trash row shows the icon of what it was;
    • no grey bars behind a countdown's colons in the dark look;
    • New Document on a sidebar row's right-click menu makes the same kind as ⌘N;
    • large Markdown files are read and parsed in the background, so they open faster, and Markdown parsing is back to 0.1.14's speed.
  • Command line: quiet now covers almost everything the app's menus do: rename, move, delete, pin, duplicate, Trash, version history, settings, asset cleanup, properties, conversion, export, SiYuan import, table and board actions, and batches that run several operations as one commit; a GUI-to-CLI table is in the docs.

Packages / 安装包

  • macOS: Apple Silicon and Intel DMGs, Developer ID signed and notarized; the ZIPs are published for in-app updates and Homebrew (brew install --cask quiet-md). A copy still named quiet.md.app (updated in the app from 0.2.0) becomes Quiet.app with this update.
  • Windows: x64 installer; unsigned, as before. It includes quiet.exe and, by default, adds it to your PATH.
  • Linux: experimental x86_64 AppImage (glibc 2.35 baseline); in-app updates are supported when running the AppImage. Run it with --cli, or through a link named quiet, for the command-line tool.

Linux: chmod +x quiet-md-0.2.2-x86_64.AppImage, then run it. If FUSE is unavailable, run it with --appimage-extract-and-run.

All packages include SHA-256 checksums and detached Minisign signatures, verified with packaging/update-key.pub.

Full changelog: v0.2.1...v0.2.2