diff --git a/CHANGELOG.md b/CHANGELOG.md index bd36017..a151a2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ - ✨ 脚注内容模板新增脚注编号变量:`${index}`脚注编号默认带原块链接,`${index:text}`脚注编号纯文本 - 🔥 取消脚注启用编号对脚注内容块添加命名的操作 - ![](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed/assets/脚注内容块支持编号变量-2024-12-01.gif) +![](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed/assets/PixPin_2024-12-01_23-01-13-2024-12-01.png) 实现上面GIF的效果: 开启脚注自动编号,脚注内容模板设置为 diff --git a/README_zh_CN.md b/README_zh_CN.md index 8ba4b17..3cda15d 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -13,9 +13,9 @@ v1.2.0 / 2024.12.01 - ✨ 脚注内容模板新增脚注编号变量:`${index}`脚注编号默认带原块链接,`${index:text}`脚注编号纯文本 - 🔥 取消脚注启用编号对脚注内容块添加命名的操作 - ![](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed/assets/脚注内容块支持编号变量-2024-12-01.gif) +![](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed/assets/PixPin_2024-12-01_23-01-13-2024-12-01.png) -实现上面GIF的效果: +实现上面图片的效果: 开启脚注自动编号,脚注内容模板设置为 ```markdown {{{col diff --git a/src/index.ts b/src/index.ts index 1f77684..fc01853 100644 --- a/src/index.ts +++ b/src/index.ts @@ -291,7 +291,7 @@ export default class PluginFootnote extends Plugin { /* 自定义脚注内容块样式 */ /* 脚注内容块如果设置为横排超级块则减少间距 */ -.protyle-wysiwyg .sb[custom-plugin-footnote-content][data-sb-layout=col] { +.protyle-wysiwyg .sb[custom-plugin-footnote-content][data-sb-layout="col"] { display: flex; flex-wrap: wrap; justify-content: space-between;