Skip to content

Commit a4af80f

Browse files
authored
Merge pull request #359 from terwer/release-please--branches--main--components--release-please-action
chore(main): release 1.9.1
2 parents f64097c + 1bc879e commit a4af80f

File tree

6 files changed

+17
-10
lines changed

6 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [1.9.1](https://github.com/terwer/siyuan-plugin-blog/compare/v1.9.0...v1.9.1) (2024-04-22)
4+
### Bug Fixes
5+
* formulate only parse once ([ea32c03](https://github.com/terwer/siyuan-plugin-blog/commit/ea32c03f14899739bd3c628f1a2d4751f5f29614))
36
## [1.9.0](https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.5...v1.9.0) (2024-04-22)
47
### Features
58
* adapt new theme ([858c08c](https://github.com/terwer/siyuan-plugin-blog/commit/858c08c5a2f493a57246f53f1e4e29e9906bfa46))
@@ -9,7 +12,6 @@
912
* allow custom footer ([a5e3c1f](https://github.com/terwer/siyuan-plugin-blog/commit/a5e3c1f719584163bc0475fe46df0fc95b17be60))
1013
* support formulate ([dbe9285](https://github.com/terwer/siyuan-plugin-blog/commit/dbe9285920149eee4c8c3944fed8bf109069327a))
1114
* use global static share, allow select ip ([17aeb51](https://github.com/terwer/siyuan-plugin-blog/commit/17aeb511e85e05a30bf93e49c9e652ff70b4402b))
12-
### Bug Fixes
1315
* auth error ([9fdfe20](https://github.com/terwer/siyuan-plugin-blog/commit/9fdfe20bc5823d1b8a6bfbf9389cffbdd0f85e34))
1416
* color mode not auto set ([5abe90e](https://github.com/terwer/siyuan-plugin-blog/commit/5abe90ebc16397024ca868e2c4f3373e79333046))
1517
## [1.8.5](https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.4...v1.8.5) (2023-08-10)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The core idea of this plugin is: `Everything is a Page` . You can set a page to
4040
- [X] Unordered list style adaptation
4141
- [ ] Bulk management of shared pages
4242
- [ ] Support single page setting sharing password
43-
- [ ] Integrate popular topics that are currently available
43+
- [X] Integrate popular topics that are currently available
4444
- [ ] Document alias access is supported
4545
- [ ] Support displaying MD originals
4646
- [ ] Support displaying KMD original text
@@ -49,10 +49,10 @@ The core idea of this plugin is: `Everything is a Page` . You can set a page to
4949
- [ ] tags, summary
5050
- [ ] Custom properties
5151
- [ ] Image enlargement effect
52-
- [ ] Latex formula rendering
52+
- [X] Latex formula rendering
5353
- [ ] plantuml chart support
5454
- [ ] echats chart support
55-
- [ ] Support svg with svOrigin, e.g. '<use xlink:href="#iconMore'>'</use>
55+
- [X] Support svg with svOrigin, e.g. '<use xlink:href="#iconMore'>'</use>
5656

5757
## Changelog
5858

README_zh_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
- [X] 无序列表样式适配
4141
- [ ] 已分享页面的批量管理
4242
- [ ] 支持单页面设置分享密码
43-
- [ ] 集成目前已有的热门主题
43+
- [X] 集成目前已有的热门主题
4444
- [ ] 支持文档别名访问
4545
- [ ] 支持显示 MD 原文
4646
- [ ] 支持显示 KMD 原文
@@ -49,10 +49,10 @@
4949
- [ ] 标签、摘要
5050
- [ ] 自定义属性
5151
- [ ] 图片放大效果
52-
- [ ] Latex 公式渲染
52+
- [X] Latex 公式渲染
5353
- [ ] plantuml 图表支持
5454
- [ ] echats 图表支持
55-
- [ ] 支持思源自带的svg,例如 `<use xlink:href="#iconMore"></use>`
55+
- [X] 支持思源自带的svg,例如 `<use xlink:href="#iconMore"></use>`
5656

5757
## 更新历史
5858

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "siyuan-blog",
3-
"version": "1.9.0",
3+
"version": "1.9.1",
44
"description": "The notions sharing function you want is here too",
55
"type": "module",
66
"scripts": {

pages/share.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,12 @@ const copyWebLink = () => {
111111
const shareTemplate =
112112
(StrUtil.isEmptyString(setting.shareTemplate) ? formData.shareLink : setting.shareTemplate) ?? formData.shareLink
113113
const copyText = shareTemplate
114-
.replace(/\[expired]/g, StrUtil.isEmptyString(formData.expiredTime) ? "永久" : formData.expiredTime)
114+
.replace(
115+
/\[expired]/g,
116+
StrUtil.isEmptyString(formData.expiredTime) || formData.expiredTime.toString().trim() === "0"
117+
? "永久"
118+
: formData.expiredTime
119+
)
115120
.replace(/\[title]/g, post.title)
116121
.replace(/\[url]/g, formData.shareLink)
117122

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "siyuan-blog",
33
"author": "terwer",
44
"url": "https://github.com/terwer/siyuan-plugin-blog",
5-
"version": "1.9.0",
5+
"version": "1.9.1",
66
"minAppVersion": "2.9.0",
77
"backends": [
88
"windows",

0 commit comments

Comments
 (0)