From a29dbd77f3759f4155c6826f751bf899393d72f9 Mon Sep 17 00:00:00 2001
From: Liyuan Li
Date: Sun, 30 Aug 2020 20:12:07 +0800
Subject: [PATCH] :memo:
---
CHANGELOG.md | 6 +++---
README.md | 12 ++++++------
README_en_US.md | 12 ++++++------
demo/index.html | 6 +++---
demo/jest-puppeteer.html | 4 ++--
demo/render.html | 6 +++---
package.json | 2 +-
src/ts/toolbar/Info.ts | 2 +-
8 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 50a6d53b4..e834145e4 100644
--- a/CHANGELOG.md
+++ b/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 模式下,的编辑问题 `修复缺陷`
@@ -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)`
diff --git a/README.md b/README.md
index d0905f929..7a904f5bc 100644
--- a/README.md
+++ b/README.md
@@ -18,12 +18,12 @@
-English | Demo
+English | Demo
## 💡 简介
-[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
@@ -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)
diff --git a/README_en_US.md b/README_en_US.md
index 9b2218d8d..7c0532664 100644
--- a/README_en_US.md
+++ b/README_en_US.md
@@ -18,14 +18,14 @@ Easy-to-use Markdown editor, born to adapt to different application scenarios
-中文 | Demo
+中文 | Demo
## 💡 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
@@ -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)
diff --git a/demo/index.html b/demo/index.html
index 63afe6b88..ffc4253eb 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -27,13 +27,13 @@
-
+
-
+