docs(readme): add descriptions about different position options

Refs: ee70a4349c
This commit is contained in:
dragonish 2025-04-09 22:16:03 +08:00
parent ee70a4349c
commit 83899b8e6a
No known key found for this signature in database
GPG key ID: 6F42FA9E807A5177
5 changed files with 6 additions and 0 deletions

View file

@ -43,6 +43,12 @@ Control the display effect of the decorator.
- **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.
Here are some examples of the differences between different positions:
| Before the heading | Before the heading (inside) | After the heading | After the heading (inside) |
| :----------------- | :-------------------------: | :---------------: | :------------------------: |
| ![before](images/before.jpg) | ![before-inside](images/before-inside.jpg) | ![after](images/after.jpg) | ![after-inside](images/after-inside.jpg) |
### Ordered
Similar to the effect displayed in the [Preview](#preview).

BIN
images/after-inside.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
images/after.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
images/before-inside.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
images/before.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB