浏览代码

【文档】优化自述并添加英语自述

PJ568 2 年之前
父节点
当前提交
8faca9f0df
共有 2 个文件被更改,包括 51 次插入 和 0 次删除
  1. 9 0
      README.md
  2. 42 0
      README_EN.md

+ 9 - 0
README.md

@@ -1,7 +1,16 @@
 # MARKDOWN.HTML
 
+> 简体中文 | [English](README_EN.md)
+
 本项目旨在提供低依赖、一键部署的 Markdown 网页渲染方案。
 
+## 特性
+
+- **少依赖**:仅需一个 HTML 文件、少量 CDN 和服务器程序,即可完成 Markdown 网页渲染。
+- **多语言支持**:支持多种语言间的机器互译。
+- **深色模式**;支持浅色、深色、跟随系统。
+- **Pjax 支持**:支持无刷新页面跳转。
+
 ## 使用方法
 
 1. 下载并重命名本仓库的 `index.html` 文件到你的网站根目录或任何其他目录中;

+ 42 - 0
README_EN.md

@@ -0,0 +1,42 @@
+# MARKDOWN.HTML
+
+> [简体中文](README.md) | English
+
+This project aims to provide a low-dependency, simple deployment solution for rendering Markdown web pages.
+
+## Features
+
+- **Low dependencies**: Only an HTML file, a small number of CDNs, and server programs are required to complete Markdown pages rendering.
+- **Multilingual support**: Supports machine translation between multiple languages.
+- **Dark mode support**: Supports light, dark, and system-following modes.
+- **Pjax support**: Supports page navigation without refreshing the whole page.
+
+## Usage
+
+1. Download and rename the `index.html` file from this repository and place to your website's root directory or any other directory;
+2. When the html file is accessed, it will automatically render the `index.md` in the same directory. If `index.md` does not exist, it will render `README.md`.
+
+## Additional Notes
+
+`The open-source projects used in this project allow modifications, but please retain the original author information. If removal is necessary, please contact the author to avoid losing technical support.` For more details, refer to the license.
+
+## Code or Content Contributions
+
+We welcome contributions of code and content from anyone interested in this project.
+
+For a simpler way to contribute, please refer to the [Contribution Guide](CONTRIBUTING.md) for relevant information.
+
+## License
+
+This project is licensed under the [CC BY-SA 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/) license. For full license information, please refer to the [`LICENSE`](LICENSE) file.
+
+### Additional Licenses
+
+|Name|License|Address|
+|:-:|:--|:--|
+|font-awesome|[SIL OFL 1.1](http://scripts.sil.org/OFL)|[https://fontawesome.com/v4/license/](https://fontawesome.com/v4/license/)|
+|markedjs/marked|[marked License](https://github.com/markedjs/marked/blob/master/LICENSE.md)|[Github](https://github.com/markedjs/marked)|
+|translate.js|[Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)|[Github](https://github.com/xnx3/translate)、[Gitee](https://gitee.com/mail_osc/translate)|
+|darkmode.js|[MIT license](//mit-license.org)|[Github](https://github.com/sandoche/Darkmode.js)|
+|MoOx/pjax|[MIT license](//mit-license.org)|[Github](https://github.com/MoOx/pjax)|
+|instant.page|[MIT license](//mit-license.org)|[Github](https://github.com/instantpage/instant.page)|