Browse Source

Merge pull request #4 from ivan-nginx/master

Update readme, Beauty Readme.md
zhuzhuxia 8 years ago
parent
commit
c322a7a6fb
2 changed files with 31 additions and 26 deletions
  1. 13 10
      README.md
  2. 18 16
      doc/cn/README.md

+ 13 - 10
README.md

@@ -1,20 +1,19 @@
-[![Join the chat](https://badges.gitter.im/hexo-theme-tomotoes/Lobby.svg)](https://gitter.im/zhuzhuyule/Lobby) 
-[![license](https://img.shields.io/badge/license-GPL3.0-brightgreen.svg)](https://github.com/zhuzhuyule/HexoEditor/blob/master/LICENSE) 
-[![Download](https://img.shields.io/badge/download-page-blue.svg)](https://github.com/zhuzhuyule/HexoEditor/releases) 
-[![Conda](https://img.shields.io/conda/pn/conda-forge/python.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)
-
-<div align="right">:triangular_flag_on_post:Language:
-<a title="中文" href="doc/cn/README.md">:cn:中文</a>
-  :us:English</div>
+<div align="right">:triangular_flag_on_post: Language:
+:us:English
+<a title="中文" href="doc/cn/README.md">:cn:中文</a></div>
 
 # <div align="center"><a title="Go to homepage" href="#"><img align="center" width="56" height="56" src="https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/icons/HexoEditor.svg?sanitize=true"></a>  HexoEditor</div>
 
+[![Join the chat](https://badges.gitter.im/hexo-theme-tomotoes/Lobby.svg)](https://gitter.im/zhuzhuyule/Lobby)
+[![license](https://img.shields.io/badge/license-GPL3.0-brightgreen.svg)](https://github.com/zhuzhuyule/HexoEditor/blob/master/LICENSE)
+[![Download](https://img.shields.io/badge/download-page-blue.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)
+[![Conda](https://img.shields.io/conda/pn/conda-forge/python.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)
 
-This is markdown editor for Hexo.  
+This is markdown editor for Hexo.
 
 Built with Electron.
 
-Inherit [Moeditor](https://github.com/Moeditor/Moeditor), I want to fix it appropriate to Hexo Blog !
+Inherit [Moeditor](https://github.com/Moeditor/Moeditor), I want to fix it appropriate to Hexo Blog!
 
 #### if you have good ideas, please comment [Here](https://github.com/zhuzhuyule/HexoEditor/issues/2)
 #### if you have time, and interest, and energy, welcome join us !
@@ -135,3 +134,7 @@ The `Raleway` font is licensed under the OFL open font license.
 //var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;
 var rightSide = display.lineDiv.offsetWidth - padding.right;
 ```
+
+# Compatibility
+
+* :triangular_flag_on_post: <a href="https://github.com/theme-next/hexo-theme-next" target="_blank">NexT theme</a>

+ 18 - 16
doc/cn/README.md

@@ -1,17 +1,17 @@
-[![Join the chat](https://badges.gitter.im/hexo-theme-tomotoes/Lobby.svg)](https://gitter.im/zhuzhuyule/Lobby) 
-[![license](https://img.shields.io/badge/license-GPL3.0-brightgreen.svg)](https://github.com/zhuzhuyule/HexoEditor/blob/master/LICENSE) 
-[![Download](https://img.shields.io/badge/download-page-blue.svg)](https://github.com/zhuzhuyule/HexoEditor/releases) 
-[![Conda](https://img.shields.io/conda/pn/conda-forge/python.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)
-
-<div align="right">:triangular_flag_on_post:Language:
-:cn:中文
-<a title="English" href="https://github.com/zhuzhuyule/HexoEditor/blob/master/doc/cn/README.md">:us:English</a></div>
+<div align="right">:triangular_flag_on_post: Language:
+<a title="English" href="https://github.com/zhuzhuyule/HexoEditor/blob/master/README.md">:us:English</a>
+:cn:中文</div>
 
 # <div align="center"><a title="Go to homepage" href="#"><img align="center" width="56" height="56" src="https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/icons/HexoEditor.svg?sanitize=true"></a>  HexoEditor</div>
 
-这是一款为 Hexo 做了优化的 Markdown 编辑器。  
+[![Join the chat](https://badges.gitter.im/hexo-theme-tomotoes/Lobby.svg)](https://gitter.im/zhuzhuyule/Lobby)
+[![license](https://img.shields.io/badge/license-GPL3.0-brightgreen.svg)](https://github.com/zhuzhuyule/HexoEditor/blob/master/LICENSE)
+[![Download](https://img.shields.io/badge/download-page-blue.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)
+[![Conda](https://img.shields.io/conda/pn/conda-forge/python.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)
 
-使用 Electron 做框架。 
+这是一款为 Hexo 做了优化的 Markdown 编辑器。
+
+使用 Electron 做框架
 
 修改自 [Moeditor](https://github.com/Moeditor/Moeditor), 我只是为了让他更好的去为 Hexo 下的博客更好的去书写内容。
 
@@ -20,9 +20,9 @@
 
 # QQ群:
 - 群名:HexoEditor
-- 群ID:602883087   
-- 验证:HexoEditor           
-- 建立日期:2017-12-29  
+- 群ID:602883087
+- 验证:HexoEditor
+- 建立日期:2017-12-29
 
 # 功能
 * HexoEditor 
@@ -111,8 +111,6 @@ linux  : ~/.config/configstore/HexoEditor.json
 mac    : ~/.config/configstore/HexoEditor.json( 待确认)
 ```
 
-
-
 # 本地化
 HexoEditor将自动识别系统语言并使用对应语言包。
 
@@ -140,4 +138,8 @@ HexoEditor 使用许可证为 **GPL v3** 许可.
 ```js 
 //var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;
 var rightSide = display.lineDiv.offsetWidth - padding.right;
-```
+```
+
+# 兼容性
+
+* :triangular_flag_on_post: <a href="https://github.com/theme-next/hexo-theme-next" target="_blank">NexT theme</a>