diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ce45052..18b1ee87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## [1.9.1](https://github.com/terwer/siyuan-plugin-blog/compare/v1.9.0...v1.9.1) (2024-04-22) +### Bug Fixes +* formulate only parse once ([ea32c03](https://github.com/terwer/siyuan-plugin-blog/commit/ea32c03f14899739bd3c628f1a2d4751f5f29614)) ## [1.9.0](https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.5...v1.9.0) (2024-04-22) ### Features * adapt new theme ([858c08c](https://github.com/terwer/siyuan-plugin-blog/commit/858c08c5a2f493a57246f53f1e4e29e9906bfa46)) @@ -9,7 +12,6 @@ * allow custom footer ([a5e3c1f](https://github.com/terwer/siyuan-plugin-blog/commit/a5e3c1f719584163bc0475fe46df0fc95b17be60)) * support formulate ([dbe9285](https://github.com/terwer/siyuan-plugin-blog/commit/dbe9285920149eee4c8c3944fed8bf109069327a)) * use global static share, allow select ip ([17aeb51](https://github.com/terwer/siyuan-plugin-blog/commit/17aeb511e85e05a30bf93e49c9e652ff70b4402b)) -### Bug Fixes * auth error ([9fdfe20](https://github.com/terwer/siyuan-plugin-blog/commit/9fdfe20bc5823d1b8a6bfbf9389cffbdd0f85e34)) * color mode not auto set ([5abe90e](https://github.com/terwer/siyuan-plugin-blog/commit/5abe90ebc16397024ca868e2c4f3373e79333046)) ## [1.8.5](https://github.com/terwer/siyuan-plugin-blog/compare/v1.8.4...v1.8.5) (2023-08-10) diff --git a/README.md b/README.md index 71e20608..a1325015 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ The core idea of this plugin is: `Everything is a Page` . You can set a page to - [X] Unordered list style adaptation - [ ] Bulk management of shared pages - [ ] Support single page setting sharing password -- [ ] Integrate popular topics that are currently available +- [X] Integrate popular topics that are currently available - [ ] Document alias access is supported - [ ] Support displaying MD originals - [ ] 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 - [ ] tags, summary - [ ] Custom properties - [ ] Image enlargement effect -- [ ] Latex formula rendering +- [X] Latex formula rendering - [ ] plantuml chart support - [ ] echats chart support -- [ ] Support svg with svOrigin, e.g. '' ## Changelog diff --git a/README_zh_CN.md b/README_zh_CN.md index f17179df..8d303a3d 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -40,7 +40,7 @@ - [X] 无序列表样式适配 - [ ] 已分享页面的批量管理 - [ ] 支持单页面设置分享密码 -- [ ] 集成目前已有的热门主题 +- [X] 集成目前已有的热门主题 - [ ] 支持文档别名访问 - [ ] 支持显示 MD 原文 - [ ] 支持显示 KMD 原文 @@ -49,10 +49,10 @@ - [ ] 标签、摘要 - [ ] 自定义属性 - [ ] 图片放大效果 -- [ ] Latex 公式渲染 +- [X] Latex 公式渲染 - [ ] plantuml 图表支持 - [ ] echats 图表支持 -- [ ] 支持思源自带的svg,例如 `` +- [X] 支持思源自带的svg,例如 `` ## 更新历史 diff --git a/package.json b/package.json index 0034678b..c5617ac6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siyuan-blog", - "version": "1.9.0", + "version": "1.9.1", "description": "The notions sharing function you want is here too", "type": "module", "scripts": { diff --git a/pages/share.vue b/pages/share.vue index 624081a0..7cc9d690 100644 --- a/pages/share.vue +++ b/pages/share.vue @@ -111,7 +111,12 @@ const copyWebLink = () => { const shareTemplate = (StrUtil.isEmptyString(setting.shareTemplate) ? formData.shareLink : setting.shareTemplate) ?? formData.shareLink const copyText = shareTemplate - .replace(/\[expired]/g, StrUtil.isEmptyString(formData.expiredTime) ? "永久" : formData.expiredTime) + .replace( + /\[expired]/g, + StrUtil.isEmptyString(formData.expiredTime) || formData.expiredTime.toString().trim() === "0" + ? "永久" + : formData.expiredTime + ) .replace(/\[title]/g, post.title) .replace(/\[url]/g, formData.shareLink) diff --git a/plugin.json b/plugin.json index 96213fe1..c1115857 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "siyuan-blog", "author": "terwer", "url": "https://github.com/terwer/siyuan-plugin-blog", - "version": "1.9.0", + "version": "1.9.1", "minAppVersion": "2.9.0", "backends": [ "windows",