docs(readme): add description of new settings

Refs: 138c7841c9
This commit is contained in:
dragonish 2026-01-09 19:46:57 +08:00
parent 138c7841c9
commit 0647151ff0
No known key found for this signature in database
GPG key ID: 6F42FA9E807A5177
4 changed files with 18 additions and 15 deletions

View file

@ -41,9 +41,10 @@
控制装饰器的显示效果。
- **装饰器的模式**:切换此设置可将标题装饰为有序列表、独立层级或无序列表列表。
- **装饰器的模式**:切换此设置可将标题装饰为有序列表、独立层级、分层拼接或无序列表。
- **有序列表**:按照装饰器样式将当前标题级别与顶层标题级别使用分隔符连接起来以构建结果,类似于[预览](#预览)中展示的效果。
- **独立层级**:默认情况下,按照各自级别装饰器样式将当前标题级别构建结果。
- **分层拼接**:按照各自级别装饰器样式,将当前标题级别与顶层标题级别使用分隔符连接起来以构建结果。
- **无序列表**:直接将当前标题级别构建为固定字符串。
- **装饰器的不透明度**:设置标题装饰器的不透明度。值是百分比的形式。
- **装饰器的位置**:设置标题装饰器的位置。您可以将内容配置为显示在标题之前或之后。
@ -51,9 +52,9 @@
不同装饰器模式示例:
| 有序列表 (十进制数字) | 独立层级 | 无序列表 (使用 `H1 H2 H3 H4 H5 H6`) |
| :---------------: | :-----: | :-------------------------------: |
| ![有序列表](images/ordered.jpg) | ![独立层级](images/independent.jpg) | ![无序列表](images/unordered.jpg) |
| 有序列表 (十进制数字) | 独立层级 | 分层拼接 | 无序列表 (使用 `H1 H2 H3 H4 H5 H6`) |
| :---------------: | :-----: | :----: | :-------------------------------: |
| ![有序列表](images/ordered.jpg) | ![独立层级](images/independent.jpg) | ![分层拼接](images/splice.jpg) | ![无序列表](images/unordered.jpg) |
不同装饰器位置之间的差异示例:
@ -92,7 +93,7 @@
### 逻辑控制
在将装饰器的模式设置为有序列表或独立层级时,您可以控制标题的渲染逻辑,用于调整渲染结果或者忽略掉不想处理的标题级别。
在将装饰器的模式设置为有序列表、独立层级或分层拼接时,您可以控制标题的渲染逻辑,用于调整渲染结果或者忽略掉不想处理的标题级别。
#### 允许零级别

View file

@ -41,9 +41,10 @@
控制裝飾器的顯示效果。
- **裝飾器的模式**:切換此設定可將標題裝飾為有序列表、獨立層級或無序列表列表。
- **裝飾器的模式**:切換此設定可將標題裝飾為有序列表、獨立層級、分層拼接或無序列表。
- **有序列表**:按照裝飾器樣式將當前標題級別與頂層標題級別使用分隔符連線起來以構建結果,類似於[預覽](#預覽)中展示的效果。
- **獨立層級**:預設情況下,按照各自級別裝飾器樣式將當前標題級別構建結果。
- **分層拼接**:按照各自級別裝飾器樣式,將當前標題級別與頂層標題級別使用分隔符連線起來以構建結果。
- **無序列表**:直接將當前標題級別構建為固定字串。
- **裝飾器的不透明度**:設定標題裝飾器的不透明度。值是百分比的形式。
- **裝飾器的位置**:設定標題裝飾器的位置。您可以將內容配置為顯示在標題之前或之後。
@ -51,9 +52,9 @@
不同裝飾器模式示例:
| 有序列表 (十進位制數字) | 獨立層級 | 無序列表 (使用 `H1 H2 H3 H4 H5 H6`) |
| :---------------: | :------: | :-------------------------------: |
| ![有序列表](images/ordered.jpg) | ![獨立層級](images/independent.jpg) | ![無序列表](images/unordered.jpg) |
| 有序列表 (十進位制數字) | 獨立層級 | 分層拼接 | 無序列表 (使用 `H1 H2 H3 H4 H5 H6`) |
| :---------------: | :------: | :-----: | :-------------------------------: |
| ![有序列表](images/ordered.jpg) | ![獨立層級](images/independent.jpg) | ![分層拼接](images/splice.jpg) | ![無序列表](images/unordered.jpg) |
不同裝飾器位置之間的差異示例:
@ -92,7 +93,7 @@
### 邏輯控制
在將裝飾器的模式設定為有序列表或獨立層級時,您可以控制標題的渲染邏輯,用於調整渲染結果或者忽略掉不想處理的標題級別。
在將裝飾器的模式設定為有序列表、獨立層級或分層拼接時,您可以控制標題的渲染邏輯,用於調整渲染結果或者忽略掉不想處理的標題級別。
#### 允許零級別

View file

@ -43,9 +43,10 @@ In addition, you can enable the default status of each note within the *Config*
Control the display effect of the decorator.
- **Mode**: Toggle this setting to decorate headings as ordered, independent, or unordered.
- **Mode**: Toggle this setting to decorate headings as ordered, independent, splice or unordered.
- **Ordered**: Connect the current heading level with the top-level heading level using a separator in the decorator style to build the result, similar to the effect shown in [Preview](#preview).
- **Independent**: By default, build the result of the current heading level according to the decorator style of each level.
- **Splice**: The result is builded by connecting the current heading level with the top-level heading level using a separator, following the respective level decorator style.
- **Unordered**: Build the current heading level directly as a fixed string.
- **Opacity**: Set the opacity of the heading decorator. The value is the form of percentage.
- **Position**: Set the position of the heading decorator. You can configure the content to appear before or after the heading.
@ -53,9 +54,9 @@ Control the display effect of the decorator.
Examples of differences between different decorator modes:
| Ordered (Decimal numbers) | Independent | Unordered (using `H1 H2 H3 H4 H5 H6`) |
| :-----------------------: | :---------: | :-----------------------------------: |
| ![Ordered](images/ordered.jpg) | ![Independent](images/independent.jpg) | ![Unordered](images/unordered.jpg) |
| Ordered (Decimal numbers) | Independent | Splice | Unordered (using `H1 H2 H3 H4 H5 H6`) |
| :-----------------------: | :---------: | :----: | :-----------------------------------: |
| ![Ordered](images/ordered.jpg) | ![Independent](images/independent.jpg) | ![Splice](images/splice.jpg) | ![Unordered](images/unordered.jpg) |
Examples of differences between different decorator positions:
@ -94,7 +95,7 @@ For example:
### Logic
When you set the decorator mode to ordered or independent, you can control the rendering logic of headings to adjust rendering results, or ignore heading levels you don't want to handle.
When you set the decorator mode to ordered, independent or splice, you can control the rendering logic of headings to adjust rendering results, or ignore heading levels you don't want to handle.
#### Allow zero level

BIN
images/splice.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB