File tree Expand file tree Collapse file tree 6 files changed +17
-10
lines changed Expand file tree Collapse file tree 6 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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 ) )
3
6
## [ 1.9.0] ( https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.5...v1.9.0 ) (2024-04-22)
4
7
### Features
5
8
* adapt new theme ([ 858c08c] ( https://github.com/terwer/siyuan-plugin-blog/commit/858c08c5a2f493a57246f53f1e4e29e9906bfa46 ) )
9
12
* allow custom footer ([ a5e3c1f] ( https://github.com/terwer/siyuan-plugin-blog/commit/a5e3c1f719584163bc0475fe46df0fc95b17be60 ) )
10
13
* support formulate ([ dbe9285] ( https://github.com/terwer/siyuan-plugin-blog/commit/dbe9285920149eee4c8c3944fed8bf109069327a ) )
11
14
* use global static share, allow select ip ([ 17aeb51] ( https://github.com/terwer/siyuan-plugin-blog/commit/17aeb511e85e05a30bf93e49c9e652ff70b4402b ) )
12
- ### Bug Fixes
13
15
* auth error ([ 9fdfe20] ( https://github.com/terwer/siyuan-plugin-blog/commit/9fdfe20bc5823d1b8a6bfbf9389cffbdd0f85e34 ) )
14
16
* color mode not auto set ([ 5abe90e] ( https://github.com/terwer/siyuan-plugin-blog/commit/5abe90ebc16397024ca868e2c4f3373e79333046 ) )
15
17
## [ 1.8.5] ( https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.4...v1.8.5 ) (2023-08-10)
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ The core idea of this plugin is: `Everything is a Page` . You can set a page to
40
40
- [X] Unordered list style adaptation
41
41
- [ ] Bulk management of shared pages
42
42
- [ ] Support single page setting sharing password
43
- - [ ] Integrate popular topics that are currently available
43
+ - [X ] Integrate popular topics that are currently available
44
44
- [ ] Document alias access is supported
45
45
- [ ] Support displaying MD originals
46
46
- [ ] 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
49
49
- [ ] tags, summary
50
50
- [ ] Custom properties
51
51
- [ ] Image enlargement effect
52
- - [ ] Latex formula rendering
52
+ - [X ] Latex formula rendering
53
53
- [ ] plantuml chart support
54
54
- [ ] 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 >
56
56
57
57
## Changelog
58
58
Original file line number Diff line number Diff line change 40
40
- [X] 无序列表样式适配
41
41
- [ ] 已分享页面的批量管理
42
42
- [ ] 支持单页面设置分享密码
43
- - [ ] 集成目前已有的热门主题
43
+ - [X ] 集成目前已有的热门主题
44
44
- [ ] 支持文档别名访问
45
45
- [ ] 支持显示 MD 原文
46
46
- [ ] 支持显示 KMD 原文
49
49
- [ ] 标签、摘要
50
50
- [ ] 自定义属性
51
51
- [ ] 图片放大效果
52
- - [ ] Latex 公式渲染
52
+ - [X ] Latex 公式渲染
53
53
- [ ] plantuml 图表支持
54
54
- [ ] echats 图表支持
55
- - [ ] 支持思源自带的svg,例如 ` <use xlink:href="#iconMore"></use> `
55
+ - [X ] 支持思源自带的svg,例如 ` <use xlink:href="#iconMore"></use> `
56
56
57
57
## 更新历史
58
58
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " siyuan-blog" ,
3
- "version" : " 1.9.0 " ,
3
+ "version" : " 1.9.1 " ,
4
4
"description" : " The notions sharing function you want is here too" ,
5
5
"type" : " module" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -111,7 +111,12 @@ const copyWebLink = () => {
111
111
const shareTemplate =
112
112
(StrUtil .isEmptyString (setting .shareTemplate ) ? formData .shareLink : setting .shareTemplate ) ?? formData .shareLink
113
113
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
+ )
115
120
.replace (/ \[ title]/ g , post .title )
116
121
.replace (/ \[ url]/ g , formData .shareLink )
117
122
Original file line number Diff line number Diff line change 2
2
"name" : " siyuan-blog" ,
3
3
"author" : " terwer" ,
4
4
"url" : " https://github.com/terwer/siyuan-plugin-blog" ,
5
- "version" : " 1.9.0 " ,
5
+ "version" : " 1.9.1 " ,
6
6
"minAppVersion" : " 2.9.0" ,
7
7
"backends" : [
8
8
" windows" ,
You can’t perform that action at this time.
0 commit comments