Skip to content

Commit

Permalink
🔖 v1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Dec 1, 2024
1 parent df1904e commit 3d6532e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,25 @@

## v1.2.0 / 2024.12.01

-脚注内容模板支持编号${index}, 主要用于脚注编号
-脚注内容模板新增脚注编号变量:`${index}`脚注编号默认带原块链接,`${index:text}`脚注编号纯文本
- 🔥 取消脚注启用编号对脚注内容块添加命名的操作

![](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed/assets/脚注内容块支持编号变量-2024-12-01.gif)

实现上面GIF的效果:
开启脚注自动编号,脚注内容模板设置为
```markdown
{{{row
${index} ${content}
}}}
```
之前版本或者原来模板没有添加`${index}`变量的块想要自动编号,可以在每个脚注内容块里粘贴下面内容,然后命令面板运行【脚注编号】命令

```
<span data-type="custom-footnote-index" >[注]</span>
```


## v1.1.9 / 2024.12.01
- 📝README 补充插件的命令介绍
- ✨ 命令面板添加取消脚注自动编号命令 #17
Expand Down
15 changes: 14 additions & 1 deletion README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,24 @@

v1.2.0 / 2024.12.01

-脚注内容模板支持编号${index}, 主要用于脚注编号
-脚注内容模板新增脚注编号变量:`${index}`脚注编号默认带原块链接,`${index:text}`脚注编号纯文本
- 🔥 取消脚注启用编号对脚注内容块添加命名的操作

![](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed/assets/脚注内容块支持编号变量-2024-12-01.gif)

实现上面GIF的效果:
开启脚注自动编号,脚注内容模板设置为
```markdown
{{{row
${index} ${content}
}}}
```
之前版本或者原来模板没有添加`${index}`变量的块想要自动编号,可以在每个脚注内容块里粘贴下面内容,然后命令面板运行【脚注编号】命令

```
<span data-type="custom-footnote-index" >[注]</span>
```

v1.1.7

- ✨ 现在不勾选脚注自动编号时,添加脚注的弹窗可以使用思源富文本功能编辑脚注内容啦,但是勾选脚注自动编号,还是只能纯文本格式添加脚注内容
Expand Down

0 comments on commit 3d6532e

Please sign in to comment.