Skip to content

Releases: guopenghui/obsidian-quiet-outline

0.3.40

16 Jan 09:13
Compare
Choose a tag to compare

Fix

  • Highlight problem when writing a new line #205
  • highlight heading location not right #204

0.3.39

07 Jan 10:24
Compare
Choose a tag to compare
  • Remove footnote in heading (^[xxx]) #87
  • Remove padding-bottom #191
  • Support rtl language #203

0.3.38

22 Dec 13:50
Compare
Choose a tag to compare

New

  • Add hotkeys to jump to prev/next heading relative to current cursor position.

新增

  • 增加了快捷键命令,从而可以从当前光标位置跳转到 上一个/下一个 标题处,从而实现在标题间快速跳转。

0.3.37

20 Oct 08:50
Compare
Choose a tag to compare
fix: issue #190

0.3.36

06 Jul 16:39
Compare
Choose a tag to compare

Fix #184

0.3.35

26 Jun 11:04
Compare
Choose a tag to compare

Fix

Problem described in #179

Reminders
This improvement will take effect in the "next" update! (because in this update, plugin to be unloaded is the previous version(0.3.34), so improvement in 0.3.25 doesn't be included. in next update, changes in 0.3.35 will take effect.
And you need to reopen outline panel manually for once (use command "quiet outline")

Fix

解决 #179 中描述的,更新插件时会把面板重置到右边的问题。

注意
这次更新的效果,要到下次更新时才会起效。 因为本次更新时,被卸载的版本是之前的 0.3.34,所以 0.3.35 里面的修改没有效果。
而且注意:这次更新后面板会被关闭,你需要手动打开它一次(用quiet outline这个命令)

0.3.34

26 Jun 09:42
Compare
Choose a tag to compare
fix: conflict with scroll and cursor position when calculating headin…

0.3.33

23 Jun 11:30
Compare
Choose a tag to compare

Fix

  • multiple window problem #168

New

  • support custom default level per file with qo-default-level front-matter

recording

0.3.32

15 Jun 03:18
Compare
Choose a tag to compare

New Feature

Now you can use a template string to customize output text of your headings.

For template {bullet} {num-nest[.]} [{title}]({path}), you can get heading text like - 1.2 [heading title](#heading%20title). So you can generate a TOC of your note.
image

Usage steps:

  1. Edit you template string in setting panel
  2. Open a note
  3. Run command "Copy Current Headings As Text"
  4. Paste text from clipboard to your note.

Syntax

  • title: content of your heading, like heading
  • path: like #heading, used to generate link to this heading
  • num: like 12
  • num-nest[-]: like 1-2-3
  • bullet: just -, used to generate list

Limit

Obsidian will replace spaces in heading to %20, however, github replaces space to - instead. So maybe generated TOC can not be used directly.

eg. For Heading Content:

  • obsidian: #Heading%20Content
  • github: #heading-content

You can find discussions here:

新功能

现在你可以通过模板来自定义导出的标题格式
比如{bullet} {num-nest[.]} [{title}]({path}), 可以得到 - 1.2 [heading title](#heading%20title). 所以可以通过这个来生成 TOC

使用步骤

  1. 在设置面板中编辑模板字符串
  2. 打开一个笔记
  3. 运行命令“Copy Current Headings As Text”
  4. 内容被写到了剪贴板,手动粘贴到笔记中

模板语法

  • title: 标题的内容 heading
  • path: 在内容前面加一个 #, 比如 #heading, 用来生成对标题的链接
  • num: 编号 12
  • num-nest[-]: 嵌套的编号 1-2-3
  • bullet: 仅仅是一个 -, 用来生成列表

限制

Obsidian 会把标题中的空格替换成 %20,而 github 则是替换成 -。所以可能生成的TOC没办法直接在github之类的地方使用

比如对于标题 Heading Content

  • obsidian: #Heading%20Content
  • github: #heading-content

对于这个问题,论坛里面有讨论:

0.3.31

25 May 03:37
Compare
Choose a tag to compare

Fix

  • heading locating not work in preview mode #174