Skip to content

0.7.0

Choose a tag to compare

@github-actions github-actions released this 11 Aug 16:14
· 42 commits to main since this release

Your fields, in the note and in your language

  • Character and scene notes now show their fields in the note body, as an overview above the writing. The labels and the values are in the project's language, the point of view and the cast are links, and the whole block is generated from the note's own properties. It is ordinary Markdown, so it reads the same in reading view, live preview and source mode, and it stays readable with the plugin turned off. The Properties panel cuts long key names short and shows them in English whatever the project language, which is what this answers.
  • The overview keeps itself current. Editing a field in the dashboard or in the Properties panel rewrites it, and text typed into the block is put back the way the properties have it. The editor refuses edits inside the block and says where to make them instead.
  • Existing notes gain their overview when you ask for it. A line above the character and scene tables counts the notes written before this and adds the overview to all of them at once, and the command Write field overviews into character and scene notes does the same for the current project. Until then those notes keep working from their properties, and none of them is reported as damaged.
  • A scene's conflict is stored as a property rather than as a section of prose, which is what lets the scene table, the search, the base views and the overview all show the same thing.
  • The generated base views grow. Opening one adds a column for any property the notes carry that the base does not list yet, including a property you add yourself, and leaves the columns and views you arranged as they were. Restore base, in the menu beside Open base, rewrites one from the current template after asking.
  • The scene base lists the conflict and translates the two points of view that name no character, and All Characters lists every field of the sheet.
  • Repairing a note that is open in an editor works without turning boundary protection off first, and opening a step note from the dashboard brings its section to the middle of the page.

On upgrade: your notes are left exactly as they are. New characters and scenes carry the overview from the start, and the ones you already have gain it when you choose to add it.

Compatibility: Obsidian 1.13.0 or later.


你的字段,写在笔记里,也说你的语言

  • 角色笔记与场景笔记现在会在正文中显示自身的字段,作为写作区上方的一份概览。标签与取值均使用项目语言,视点人物与出场角色为链接,整块内容由笔记自身的属性生成。它是普通的 Markdown,在阅读视图、实时预览与源码模式下呈现一致,停用插件后依然可读。属性面板会截断过长的键名,且无论项目语言都只显示英文,这正是此概览所要解决的。
  • 概览会自动保持最新。在工作台或属性面板中修改字段都会重写它,直接在块内输入的文字则会按属性中的内容还原。编辑器会拒绝块内的编辑,并提示应该去哪里修改。
  • 已有笔记可按需获得概览。角色表与场景表上方会出现一行提示,统计此前写下的笔记数量,并一次性为它们全部添加;命令「将字段概览写入角色与场景笔记」对当前项目做同样的事。在此之前,这些笔记照常依据属性工作,也不会被报告为损坏。
  • 场景的冲突改为存放在属性中,而不再是一段正文区段,这样场景表、搜索、数据库视图与概览显示的才是同一份内容。
  • 生成的数据库视图会自动扩充。打开数据库时,笔记中存在而数据库尚未列出的属性都会新增一列,包括你自行添加的属性,而你排布过的列与视图保持原样。「打开数据库」旁的菜单中新增「重置数据库」,询问后按当前模板重写该数据库。
  • 场景数据库新增冲突列,并翻译两种不指向具体角色的视点;「全部角色」视图列出角色表的全部字段。
  • 修复正在编辑器中打开的笔记时,无需先关闭边界保护;从工作台打开步骤笔记时,对应区段会被带到页面中部。

升级提示:你的笔记保持原样。新建的角色与场景从一开始就带有概览,已有的笔记则在你选择添加时获得。

兼容性:Obsidian 1.13.0 或更高版本。

Full Changelog: 0.6.0...0.7.0