Markpad
Markpad copied to clipboard
Support session persistence and custom image path for obtaining file names
What problem would this solve?
- session persistence: When closing the software currently, it is mandatory to save the unnamed documents.
- custom image path for obtaining file names: Solve the issue where all the images in all the
mdfiles within the same folder are stored under theimgdirectory.
What would you like?
- session persistence: It is hoped that a session retention function can be added. When closing the software, there is no need to force the saving of the unnamed documents. When reopening it, the modified contents of the unnamed documents will still be correct.
- custom image path for obtaining file names: Supporting the use of some built-in variables to obtain the current file name allows for classifying the images by their file names when adding them. Example:
${filename}.assets
Has another app got this right?
Which platform is this for?
All platforms
Your Markpad version and how you installed it
No response
你的问题1是我明确否决,修复的路线。如果是已经存在的文件,保留一个未保存快照,期间任何其他软件等对文件的修复,都会在下一次打开时候读取快照的时候会导致数据丢失。我们所有对标产品都有类似问题。而未保存的临时草稿,未命名草稿是全 app 唯一一份不在磁盘上的文本,一旦持久化进 app 自己的存储,它可能几周只存在于那里 —— 配置重置、降级、快照损坏、换机器,任何一个都能无声吃掉它,而且没有文件可以兜底。关窗时那一次命名,代价是一个键,换来的是这段文本进入操作系统、备份、同步都认识的世界。#213 是这条路的通用版教训。 问题2我出pr做了。
第 1 条(会话保留)这个决定我们改了。#962 已经合并,下个版本会带上:退出或关闭最后一个窗口时不再强制保存未命名文档,未保存的内容下次打开自动恢复。默认开启,位置在 设置 → 文件 → 关闭时保留未保存的更改。
第 1 条(会话保留)在 2.9.0 里上线了:https://github.com/sftwrdotdev/Markpad/releases/tag/v2.9.0。退出时不再要求保存未命名文档,未保存的内容下次打开会自动恢复,崩溃后也能恢复。默认开启,设置项现在叫 设置 → 文件 → 重新打开时恢复未保存的更改。