Liyuan Li %!s(int64=5) %!d(string=hai) anos
pai
achega
a29dbd77f3
Modificáronse 8 ficheiros con 25 adicións e 25 borrados
  1. 3 3
      CHANGELOG.md
  2. 6 6
      README.md
  3. 6 6
      README_en_US.md
  4. 3 3
      demo/index.html
  5. 2 2
      demo/jest-puppeteer.html
  6. 3 3
      demo/render.html
  7. 1 1
      package.json
  8. 1 1
      src/ts/toolbar/Info.ts

+ 3 - 3
CHANGELOG.md

@@ -224,7 +224,7 @@
 * [496](https://github.com/Vanessa219/vditor/issues/496) 行级 HTML 空格问题 `修复缺陷`
 * [495](https://github.com/Vanessa219/vditor/issues/495) 行级 HTML 退格问题 `修复缺陷`
 * [494](https://github.com/Vanessa219/vditor/issues/494) 三种模式支持 list-style 样式 `改进功能`
-* [489](https://github.com/Vanessa219/vditor/issues/489) 为 vditor.b3log.org/demo 添加源码 `改进功能`
+* [489](https://github.com/Vanessa219/vditor/issues/489) 为 b3log.org/vditor/demo 添加源码 `改进功能`
 * [493](https://github.com/Vanessa219/vditor/issues/493) 修复 XSS 过滤 `修复缺陷`
 * [486](https://github.com/Vanessa219/vditor/pull/486) getCursorPosition 针对空行会得到错误数据 `修复缺陷`
 * [485](https://github.com/Vanessa219/vditor/issues/485) IR 模式下,<details>的编辑问题 `修复缺陷`
@@ -326,8 +326,8 @@
   * 添加静态方法 `mindmapRender`
   * 为 `IMarkdownConfig` 添加 `sanitize`, `listMarker`, `linkBase` 配置
   * IPreviewOptions.anchor 从 `boolean` 类型修改为 `number` 类型
-  * 示例代码地址修改:static-preview.html => preview.html,static.html => vditor.b3log.org/demo/render.html
-  * 添加 [Vditor](https://vditor.b3log.org) 官方首页
+  * 示例代码地址修改:static-preview.html => preview.html,static.html => b3log.org/vditor/demo/render.html
+  * 添加 [Vditor](https://b3log.org/vditor) 官方首页
   * 添加缓存回调 `options.cache.after(markdown:string)`
   
 

+ 6 - 6
README.md

@@ -18,12 +18,12 @@
 </p>
 
 <p align="center">
-<a href="https://github.com/Vanessa219/vditor/blob/master/README_en_US.md">English</a> &nbsp;|&nbsp; <a href="https://vditor.b3log.org/demo/index.html">Demo</a>
+<a href="https://github.com/Vanessa219/vditor/blob/master/README_en_US.md">English</a> &nbsp;|&nbsp; <a href="https://b3log.org/vditor/demo/index.html">Demo</a>
 </p>
 
 ## 💡 简介
 
-[Vditor](https://vditor.b3log.org) 是一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。它使用 TypeScript 实现,支持原生 JavaScript、Vue、React、Angular,提供[桌面版](https://github.com/88250/liandi)。
+[Vditor](https://b3log.org/vditor) 是一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。它使用 TypeScript 实现,支持原生 JavaScript、Vue、React、Angular,提供[桌面版](https://b3log.org/siyuan)。
 
 欢迎到 [Vditor 官方讨论区](https://hacpai.com/tag/vditor)了解更多。同时也欢迎关注 B3log 开源社区微信公众号 `B3log开源`:
 
@@ -115,7 +115,7 @@ Vditor 在这些方面做了努力,希望能为现代化的通用 Markdown 编
 
 * [Sym](https://github.com/88250/symphony) 一款用 Java 实现的现代化社区(论坛/BBS/社交网络/博客)平台
 * [Solo](https://github.com/88250/solo) & [Pipe](https://github.com/88250/pipe) B3log 分布式社区的博客端节点,欢迎加入下一代社区网络
-* [链滴笔记](https://github.com/88250/liandi) 一款桌面端笔记应用,支持 Windows、Mac 和 Linux
+* [思源笔记](https://b3log.org/siyuan) 一款桌面端笔记应用,支持 Windows、Mac 和 Linux
 * [Arya](https://github.com/nicejade/markdown-online-editor) 基于 Vue、Vditor,所构建的在线 Markdown 编辑器
 * [为知笔记 Lite](https://github.com/WizTeam/WizNoteLite) 聚焦于输入,让写作与思考不受干扰
 * [更多案例](https://github.com/Vanessa219/vditor/network/dependents?package_id=UGFja2FnZS0zMTY2Mzg4MzE%3D)
@@ -141,7 +141,7 @@ const vditor = new Vditor(id, {options...})
 
 ### HTML script
 
-* 在 HTML 中插入 CSS 和 JavaScript,可参考 [demo](https://vditor.b3log.org/demo/index.html)
+* 在 HTML 中插入 CSS 和 JavaScript,可参考 [demo](https://b3log.org/vditor/demo/index.html)
 
 ```html
 <!-- ⚠️生产环境请指定版本号,如 https://cdn.jsdelivr.net/npm/[email protected]/dist... -->
@@ -151,7 +151,7 @@ const vditor = new Vditor(id, {options...})
 
 ### 示例代码
 
-* [官方示例](https://vditor.b3log.org/demo/index.html) / [示例源码](https://github.com/Vanessa219/b3log-index/tree/master/src/vditor)
+* [官方示例](https://b3log.org/vditor/demo/index.html) / [示例源码](https://github.com/Vanessa219/b3log-index/tree/master/src/vditor)
 * [CommonJS Editor](https://github.com/Vanessa219/vditor/blob/master/demo/index.js)
 * [CommonJS Render](https://github.com/Vanessa219/vditor/blob/master/demo/render.js)
 
@@ -580,7 +580,7 @@ options?: IPreviewOptions {
 
 ## 🏘️ 社区
 
-* [官网](https://vditor.b3log.org)
+* [官网](https://b3log.org/vditor)
 * [讨论区](https://hacpai.com/tag/vditor)
 * [报告问题](https://github.com/Vanessa219/vditor/issues/new)
 

+ 6 - 6
README_en_US.md

@@ -18,14 +18,14 @@ Easy-to-use Markdown editor, born to adapt to different application scenarios
 </p>
 
 <p align="center">
-<a href="https://github.com/Vanessa219/vditor/blob/master/README.md">中文</a> &nbsp;|&nbsp; <a href="https://vditor.b3log.org/demo/index.html">Demo</a>
+<a href="https://github.com/Vanessa219/vditor/blob/master/README.md">中文</a> &nbsp;|&nbsp; <a href="https://b3log.org/vditor/demo/index.html">Demo</a>
 </p>
 
 ## 💡 Introduction
 
-[Vditor](https://vditor.b3log.org) is a browser-side Markdown editor, implemented using TypeScript. Support native JavaScript, Vue, React and Angular, provide [desktop](https://github.com/88250/liandi).
+[Vditor](https://b3log.org/vditor) is a browser-side Markdown editor, implemented using TypeScript. Support native JavaScript, Vue, React and Angular, provide [desktop](https://b3log.org/siyuan).
 
-Welcome to [Vditor Official Site](https://vditor.b3log.org) to learn more.
+Welcome to [Vditor Official Site](https://b3log.org/vditor) to learn more.
 
 ## 🗺️ Background
 
@@ -113,7 +113,7 @@ Most of the above features can be enabled or disabled through the switch configu
 
 * [Sym](https://github.com/88250/symphony) A modern community (forum/BBS/SNS/blog) platform implemented in Java
 * [Solo](https://github.com/88250/solo) & [Pipe](https://github.com/88250/pipe) B3log distributed community blog end node, welcome to join the next generation community network
-* [LianDi Note](https://github.com/88250/liandi) A desktop note application that supports Windows, Mac and Linux
+* [SiYuan Note](https://b3log.org/siyuan) A desktop note application that supports Windows, Mac and Linux
 * [Arya](https://github.com/nicejade/markdown-online-editor) Based on Vue, Vditor, built online Markdown editor
 * [WizNote Lite](https://github.com/WizTeam/WizNoteLite) Focus on input, so that writing and thinking are not disturbed
 * [More cases](https://github.com/Vanessa219/vditor/network/dependents?package_id=UGFja2FnZS0zMTY2Mzg4MzE%3D)
@@ -139,7 +139,7 @@ const vditor = new Vditor(id, {options...})
 
 ### HTML script
 
-* Insert CSS and js in HTML, you can refer to [demo](https://vditor.b3log.org/demo/index.html)
+* Insert CSS and js in HTML, you can refer to [demo](https://b3log.org/vditor/demo/index.html)
 
 ```html
 <!-- ⚠️Please specify the version number in the production environment, such as https://cdn.jsdelivr.net/npm/[email protected]/dist... -->
@@ -149,7 +149,7 @@ const vditor = new Vditor(id, {options...})
 
 ### Demo code
 
-* [Demo](https://vditor.b3log.org/demo/index.html)
+* [Demo](https://b3log.org/vditor/demo/index.html)
 * [CommonJS Editor](https://github.com/Vanessa219/vditor/blob/master/demo/index.js)
 * [CommonJS Render](https://github.com/Vanessa219/vditor/blob/master/demo/render.js)
 

+ 3 - 3
demo/index.html

@@ -27,13 +27,13 @@
     <meta property="og:title"
           content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG,  Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
     <meta property="og:site_name" content="Blog-vditor"/>
-    <meta property="og:url" content="https://vditor.b3log.org"/>
+    <meta property="og:url" content="https://b3log.org/vditor"/>
     <meta name="twitter:card" content="summary"/>
     <meta name="twitter:domain" content="b3log.org"/>
     <meta name="twitter:title" property="og:title" itemprop="b3lig vditor"
           content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG,  Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
     <meta name="twitter:site" content="@B3logOS"/>
-    <meta name="twitter:url" content="https://vditor.b3log.org"/>
+    <meta name="twitter:url" content="https://b3log.org/vditor"/>
     <meta property="og:image" content="https://cdn.jsdelivr.net/npm/vditor/src/assets/images/logo.png"/>
     <meta name="twitter:image" content="https://cdn.jsdelivr.net/npm/vditor/src/assets/images/logo.png"/>
     <style>
@@ -58,7 +58,7 @@
 </head>
 <body>
 <div class="vditor-reset nav">
-    <a href="https://vditor.b3log.org" target="_blank">官网</a> &nbsp; &nbsp;
+    <a href="https://b3log.org/vditor" target="_blank">官网</a> &nbsp; &nbsp;
     <a href="/render.html">Render</a> &nbsp; &nbsp;
     <button onclick="window.vditor.setTheme('dark', 'dark',  'native');document.querySelector('body').style.backgroundColor='#2f363d'">
         Dark Mode

+ 2 - 2
demo/jest-puppeteer.html

@@ -25,13 +25,13 @@
     <meta property="og:locale" content="zh-cmn-Hans"/>
     <meta property="og:title" content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG,  Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
     <meta property="og:site_name" content="Blog-vditor"/>
-    <meta property="og:url" content="https://vditor.b3log.org"/>
+    <meta property="og:url" content="https://b3log.org/vditor"/>
     <meta name="twitter:card" content="summary"/>
     <meta name="twitter:domain" content="b3log.org"/>
     <meta name="twitter:title" property="og:title" itemprop="b3lig vditor"
           content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG,  Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
     <meta name="twitter:site" content="@B3logOS"/>
-    <meta name="twitter:url" content="https://vditor.b3log.org"/>
+    <meta name="twitter:url" content="https://b3log.org/vditor"/>
     <meta property="og:image" content="https://cdn.jsdelivr.net/npm/vditor/src/assets/images/logo.png"/>
     <meta name="twitter:image" content="https://cdn.jsdelivr.net/npm/vditor/src/assets/images/logo.png"/>
 </head>

+ 3 - 3
demo/render.html

@@ -27,13 +27,13 @@
     <meta property="og:title"
           content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG,  Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
     <meta property="og:site_name" content="Blog-vditor"/>
-    <meta property="og:url" content="https://vditor.b3log.org"/>
+    <meta property="og:url" content="https://b3log.org/vditor"/>
     <meta name="twitter:card" content="summary"/>
     <meta name="twitter:domain" content="b3log.org"/>
     <meta name="twitter:title" property="og:title" itemprop="b3lig vditor"
           content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG,  Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
     <meta name="twitter:site" content="@B3logOS"/>
-    <meta name="twitter:url" content="https://vditor.b3log.org"/>
+    <meta name="twitter:url" content="https://b3log.org/vditor"/>
     <meta property="og:image" content="https://cdn.jsdelivr.net/npm/vditor/src/assets/images/logo.png"/>
     <meta name="twitter:image" content="https://cdn.jsdelivr.net/npm/vditor/src/assets/images/logo.png"/>
     <style>
@@ -161,7 +161,7 @@
 </head>
 <body>
 <div class="vditor-reset nav">
-    <a class="link" href="https://vditor.b3log.org" target="_blank">官网</a> &nbsp; &nbsp;
+    <a class="link" href="https://b3log.org/vditor" target="_blank">官网</a> &nbsp; &nbsp;
     <a class="link" href="/">Editor</a> &nbsp; &nbsp;
     <button onclick="setTheme('dark')">Dark Mode</button> &nbsp; &nbsp;
     <button onclick="setTheme('light')">Light Mode</button>

+ 1 - 1
package.json

@@ -3,7 +3,7 @@
   "version": "3.4.7",
   "description": "♏ 易于使用的 Markdown 编辑器,为适配不同的应用场景而生",
   "author": "Vanessa <[email protected]> (http://vanessa.b3log.org)",
-  "homepage": "https://vditor.b3log.org",
+  "homepage": "https://b3log.org/vditor",
   "jsdelivr": "dist/index.min.js",
   "main": "dist/index.min.js",
   "funding": "https://hacpai.com/sponsor",

+ 1 - 1
src/ts/toolbar/Info.ts

@@ -22,7 +22,7 @@ export class Info extends MenuItem {
 <div style="display: flex;flex-wrap: wrap;">
     <ul style="list-style: none;flex: 1;min-width:148px">
         <li>
-        项目地址:<a href="https://vditor.b3log.org" target="_blank">vditor.b3log.org</a>
+        项目地址:<a href="https://b3log.org/vditor" target="_blank">b3log.org/vditor</a>
         </li>
         <li>
         开源协议:MIT