0.4.1
The word you clicked is the word you get
- Click a word in the manuscript and the caret lands on it, even where Markdown syntax sits between the words you clicked. Prose reaches the page without its emphasis marks, heading marks, link targets or the newline of a soft break, so any passage crossing one of them could not be found in the file, and the caret was placed by the height of your click instead — landing further from the word the longer the chapter, and worst at the end of one. The words are now matched against the file with its syntax set aside.
- Clicking beside a short stretch of bold, or a link, no longer sends the page to the top of the note. The words looked for stopped at the edge of whatever you clicked, and a stretch too short to search for left nothing to go on.
- A chapter that repeats a sentence takes the copy you clicked rather than the first one in the note.
- The line between two notes offers what the manuscript allows now, rather than what it allowed when that line was drawn. A project of one note that had grown a second kept telling you there was nothing to merge until you closed the stream and opened it again, and the name a merge offered stayed the name that note had when the line was drawn.
- The line above the first note offers to insert one, the way the line below every other note does. It was the only line in a manuscript that offered nothing.
- The last seven tooltips drawn by the browser are the plugin's own: a note's path in the manuscript, the note offered on step 10, a character's name and one-sentence storyline, a scene's name and conflict, and the tags in a picker.
- The type checker now holds the source to the language version the plugin states. A Node type declaration was lending it a method newer than that version, which would have compiled and shipped without anything saying so. Nothing behaves differently.
Nothing to do on upgrade: this release changes no notes, no frontmatter and no settings.
Compatibility: Obsidian 1.13.0 or later.
点中哪个词,光标就落在哪个词
- 点击正文中的某个词,光标就落在它上面,即使所点的词之间夹着 Markdown 语法也是如此。正文显示在页面上时不带强调标记、标题标记、链接地址,也不带软换行的换行符,因此凡是跨过它们的片段都无法在文件中找到,只能改按点击的高度放置光标——章节越长,落点离那个词越远,在一章的结尾处最为明显。现在会把这些词与撇开语法后的原文比对。
- 在一小段加粗或链接旁边点击,不会再把页面甩到笔记顶端。此前用于查找的词只截取到所点内容的边界,而一小段太短,便无从查起。
- 一章中重复出现的句子,取你点中的那一处,而不是笔记中的第一处。
- 两篇笔记之间的那条线,提供的是此刻正文允许的操作,而不是这条线画出来时允许的。原本只有一篇笔记、后来新增了第二篇的项目,那条线仍说没有可合并的内容,除非关掉正文流再打开;合并所给出的名称,也停留在画线那一刻那篇笔记的名字。
- 第一篇笔记上方的那条线也可以插入笔记了,与其他每篇笔记下方的线一样。此前它是正文中唯一什么都不提供的线。
- 最后七处由浏览器绘制的悬浮提示改用插件自己的提示:正文中笔记的路径、第十步给出的那篇笔记、角色的名称与一句话故事线、场景的名称与冲突,以及选择器中的标签。
- 类型检查会让源码守住插件所声明的语言版本。此前一处 Node 类型声明让源码用上了高于该版本的方法,而这类用法本会毫无提示地通过编译并随插件发布。行为没有任何变化。
升级无需任何操作:本次发布不改动任何笔记、frontmatter 与设置。
兼容性:Obsidian 1.13.0 或更高版本。
Full Changelog: 0.4.0...0.4.1