From 52398423e9c288c96981fa862d5a8da0ea11fb15 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 25 Sep 2020 01:37:06 +0800 Subject: [PATCH] docs: opencc --- docs/en/parameter.md | 8 +++++++- docs/parameter.md | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/en/parameter.md b/docs/en/parameter.md index 2407c0636..24d629963 100644 --- a/docs/en/parameter.md +++ b/docs/en/parameter.md @@ -74,7 +74,13 @@ Output Sci-hub link in scientific journal routes, this supports major journals o - scihub: set to any value -举例: +Eg: + +## Conversion between Traditional and Simplified Chinese + +- opencc: s2t (Simplified Chinese to Traditional Chinese)、t2s (Traditional Chinese to Simplified Chinese), other optional values refer to [OpenCC - Configurations](https://github.com/BYVoid/OpenCC#configurations-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6) + +Eg: ## Output Formats diff --git a/docs/parameter.md b/docs/parameter.md index 0288126e1..6fb7dc407 100644 --- a/docs/parameter.md +++ b/docs/parameter.md @@ -77,6 +77,12 @@ Telegram 即时预览模式需要在官网制作页面处理模板,请前往[ 举例: +## 中文简繁体转换 + +- opencc: s2t 简体转繁体、t2s 繁体转简体,其它可选值见 [OpenCC - Configurations](https://github.com/BYVoid/OpenCC#configurations-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6) + +举例: + ## 输出格式 RSSHub 同时支持 RSS 2.0 和 Atom 输出格式,在路由末尾添加 `.rss` 或 `.atom` 即可请求对应输出格式,缺省为 RSS 2.0