Skip to content

Commit

Permalink
sy-post-publisher v0.8.0版本,支持图片备注和属性、支持双联替换为外部链接
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Mar 26, 2023
1 parent 1c968d1 commit 0614822
Show file tree
Hide file tree
Showing 112 changed files with 673 additions and 263,489 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@
<a title="Downloads" target="_blank" href="https://github.com/terwer/src-sy-post-publisher/releases"><img src="https://img.shields.io/github/downloads/terwer/src-sy-post-publisher/total.svg?label=extension-downloads&style=flat-square&color=blueviolet"></a>
<a title="Downloads" target="_blank" href="https://github.com/terwer/src-sy-post-publisher/releases"><img src="https://img.shields.io/github/downloads/terwer/sy-post-publisher/total.svg?label=widget-downloads&style=flat-square&color=blue"></a>

## v0.8.0

### Bug 修复

- 修复普通挂件版使用方式 WordPress 和博客园发布文章报错问题
- 修复图片有备注时无法上传问题,现在支持显示备注为图片的 alt
- 修复 PicGo 设置中的时间戳重命名关闭后会自动打开的问题
- #434 文章没有图片时候图床错误文章发布失败

### 新特性

- 发布至语雀支持笔记间的内部链接替换
- 博客园、WordPress、Typecho 平台支持笔记间的内部链接替换
- Github 平台(HUGO、Hexo、Vitepress 等)支持笔记间的内部链接替换
- 普通挂件版使用方式支持使用图床[受限于 Electron 机制,主窗口直接上传会导致内核崩溃,目前仅支持链接替换,上传仍需打开新窗口]

### 开发重构

- 移除不必要的日志打印
- #420 ankisiyuan.bin(仅支持 Mac) 默认不提供,手动下载,减小打包体积
- 鉴于主窗口直接上传会导致内核崩溃,主窗口移除 PicGO 支持,仅支持新窗口模式使用 PicGO

## v0.7.2 Bug 修复

- 修复 PicGO 初始化失败问题
Expand Down Expand Up @@ -68,6 +90,10 @@

- 修复已知问题,升级部分组件。

温馨提示:

`0.7.0` 之前的更新日志请参考 [CHANGELOG](CHANGELOG.md)

## 快速上手指南

### FAQ
Expand Down
32 changes: 16 additions & 16 deletions anki/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@
<link rel="shortcut icon" href="/widgets/sy-post-publisher/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Anki卡片标记 - 思源笔记发布辅助工具</title>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/anki-da7020c3.js"></script>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/anki-56bcd3e9.js"></script>
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_before-after-hook-6380be1a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-43c96027.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-fa924523.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-64e646dc.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-04461c7d.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_is-plain-object-eb550d51.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_cross-fetch-e4e57030.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_deprecation-ea02905c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_wrappy-713fc6dc.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_once-6031544f.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor-1c6b4df7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor-42595716.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_vue-demi-2d1e3e69.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_pinia-0ad60f3b.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_vue-i18n-b8c9be4e.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-es-bef79dfb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_pinia-ecc357ef.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_vue-i18n-8a61efa7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-es-625d2651.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_dayjs-60c4937a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_async-validator-6ef26e98.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_async-validator-4b9a0ab1.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_escape-html-2f5becbc.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_normalize-wheel-es-b14b3a0e.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_element-plus-f0c88bcb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_element-plus-6396cda2.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_highlight-js-1b1ee527.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_plantuml-encoder-18698577.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-bd2e1c44.js">
Expand All @@ -59,16 +59,16 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_uuid-520e9b68.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_js-yaml-c400b4ba.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_js-base64-2ae562d2.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_sax-1b2fcd5b.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_sax-d77c0d7b.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_byte-base64-0dbd845f.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_xmlbuilder2-780b1a8c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-212666d6.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-0d78c765.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-37b14d55.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-0e4e5141.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-1db37cbc.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-347b3b26.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AnkiIndex-8b78e8e2.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-479553c1.css">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-59c75e45.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-a29b7e5a.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-434793e8.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AnkiIndex-2e87a642.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-6ebbe21d.css">
</head>
<body>
<div id="app"></div>
Expand Down
50 changes: 25 additions & 25 deletions blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@
<link rel="shortcut icon" href="/widgets/sy-post-publisher/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>文章列表查看 - 思源笔记发布辅助工具</title>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/blog-02bcc5a0.js"></script>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/blog-55bf1cd2.js"></script>
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_before-after-hook-6380be1a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-43c96027.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-fa924523.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-64e646dc.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-04461c7d.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_is-plain-object-eb550d51.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_cross-fetch-e4e57030.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_deprecation-ea02905c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_wrappy-713fc6dc.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_once-6031544f.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor-1c6b4df7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor-42595716.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_vue-demi-2d1e3e69.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_pinia-0ad60f3b.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_vue-i18n-b8c9be4e.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-es-bef79dfb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_pinia-ecc357ef.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_vue-i18n-8a61efa7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-es-625d2651.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_dayjs-60c4937a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_async-validator-6ef26e98.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_async-validator-4b9a0ab1.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_escape-html-2f5becbc.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_normalize-wheel-es-b14b3a0e.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_element-plus-f0c88bcb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_element-plus-6396cda2.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_highlight-js-1b1ee527.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_plantuml-encoder-18698577.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-bd2e1c44.js">
Expand All @@ -59,28 +59,28 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_uuid-520e9b68.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_js-yaml-c400b4ba.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_js-base64-2ae562d2.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_sax-1b2fcd5b.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_sax-d77c0d7b.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_byte-base64-0dbd845f.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_xmlbuilder2-780b1a8c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-212666d6.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-0d78c765.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-37b14d55.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-0e4e5141.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-8c7d7837.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-59c75e45.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-7bbbaeec.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_toggle-selection-441a0a42.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_copy-to-clipboard-a51858f9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_blueimp-md5-es6-056b4f91.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/picgoPostApi-0729a340.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishService-a5948f32.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-1db37cbc.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PicgoIndex.vue_vue_type_style_index_0_lang-6fa34456.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/BlogIndex.vue_vue_type_script_setup_true_lang-66943a42.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-347b3b26.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/BlogIndex-f4c5ff9d.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-479553c1.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PostDetailService-99e16a5c.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PublishService-617e6ebe.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AnkiIndex-8b78e8e2.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PicgoIndex-7d69e8d1.css">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/picgoPostApi-e82981a4.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishService-2a8da080.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-a29b7e5a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PicgoIndex.vue_vue_type_style_index_0_lang-add11523.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/BlogIndex.vue_vue_type_script_setup_true_lang-91bdd1d6.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-434793e8.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/BlogIndex-ca478bbf.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-6ebbe21d.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PostDetailService-cf3ec0de.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PublishService-a5b1d3be.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AnkiIndex-2e87a642.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PicgoIndex-2dced1fe.css">
</head>
<body>
<div id="app"></div>
Expand Down
Loading

0 comments on commit 0614822

Please sign in to comment.