Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复文档格式问题 #463

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/文档-markdown message segment.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
```markdown
# Gensokyo Markdown Segment

Gensokyo的Markdown Segment是对现有OneBot v11的扩展。
Expand Down Expand Up @@ -51,4 +50,3 @@ CQ 码由字符 [ 起始, 以 ] 结束, 并且以 , 分割各个参数。如果

data下层应包含data(2层data),data.markdown,data.keyboard。
同时与type同级的data字段是OneBot v11标准固定的,所以json结构会呈现data.data.markdown,data.data.keyboard双层结构。
```
5 changes: 1 addition & 4 deletions docs/文档-markdown定义.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
```markdown
## md cq码/segment格式

### CQ码格式

```markdown
```
[CQ:markdown,data=xxx]
```

Expand Down Expand Up @@ -161,7 +160,5 @@
注意:在`{{}}`中不可以使用`![]()`这种Markdown格式的关键字。

![text #208px #320px](https://xxxxx.png)
```

详细文档请参考:[发消息含有消息按钮组件的消息](https://bot.q.qq.com/wiki/develop/api/openapi/message/post_keyboard_messages.html#%E5%8F%91%E9%80%81%E5%90%AB%E6%9C%89%E6%B6%88%E6%81%AF%E6%8C%89%E9%92%AE%E7%BB%84%E4%BB%B6%E7%9A%84%E6%B6%88%E6%81%AF)
```
2 changes: 0 additions & 2 deletions docs/起步-注册QQ开放平台&启动gensokyo.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
```markdown
# 创建QQ机器人并配置

首先,您需要在 [QQ开放平台](https://q.qq.com/qqbot/) 注册一个开发者账号,确保使用您的大号QQ进行注册,而非小号。
Expand Down Expand Up @@ -53,4 +52,3 @@ text_intent:
完成上述基础配置后,您可以继续学习如何使用nb2和koishi等应用程序来开发您的自定义插件。

现在,您已经完成了基础配置和必要的设置,可以开始进行进一步的开发和集成了。
```
4 changes: 2 additions & 2 deletions docs/额外api-get_avatar.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
```markdown
# API: get_avatar

获取用户头像。
Expand All @@ -22,6 +21,7 @@ type GetAvatarResponse struct {
## CQcode

CQ头像码格式.支持message segment式传参,将at segment类比修改为avatar即可.
[CQ:avatar,qq=123456]

```
[CQ:avatar,qq=123456]
```
Loading