一般基本的功能都可以用Markdown实现,但是还是有必要了解下BBCode。注意本论坛的一些语法与其他非Flarum论坛不兼容。
## 对齐
```
[center]居中文本[/center]
```
<e></e>
~~##~~ 文本
````
```
[b]文本[/b]
[i]文本[/i]
[del]文本[/del]
[color=颜色]文本[/color] <!-- 此处以red为例 -->
[size=<数字(px)>]文本[/size] <!-- 此处以20为例 -->
[quote=who]内容[/quote] <!-- 一般写Markdown即可 -->
```
````
**~~**~~文本<e>**</e>**
*~~*~~文本<e>*</e>*
~~~~~~文本<e>~~</e>
<COLOR color="red">~~~~文本<e></e></COLOR> <!<FP char="–">--</FP> 此处以red为例 <FP char="–">--</FP>>
<SIZE size="20">~~~~文本<e></e></SIZE> <!<FP char="–">--</FP> 此处以20为例 <FP char="–">--</FP>>
<QUOTE author="who">~~[quote=who]~~内容
<e>[/quote]</e></QUOTE> <!<FP char="–">--</FP> 一般写Markdown即可 <FP char="–">--</FP>>
~~##~~ 警告框 (<C>~~`</s>BBCode Alerts<e>`</e></C>)
###~~ 基本
~~```~~
[AWARNING]This is an AWARNING message.[/AWARNING]
[ASUCCESS]This is an ASUCCESS message.[/ASUCCESS]
[AINFO]This is an AINFO message.[/AINFO]
[ABASIC]This is an ABASIC message.[/ABASIC]
[ACUSTOM]red,black,green,This is an ACUSTOM message.[/ACUSTOM]
<e>```</e>
<AWARNING>~~[AWARNING]~~This is an AWARNING message.<e>[/AWARNING]</e></AWARNING>
<ASUCCESS>~~[ASUCCESS]~~This is an ASUCCESS message.<e>[/ASUCCESS]</e></ASUCCESS>
<AINFO>~~[AINFO]~~This is an AINFO message.<e>[/AINFO]</e></AINFO>
<ABASIC>~~[ABASIC]~~This is an ABASIC message.<e>[/ABASIC]</e></ABASIC>
<ACUSTOM content0="red" content1="black" content2="green" content3="This is an ACUSTOM message.">~~[ACUSTOM]~~red,black,green,This is an ACUSTOM message.<e>[/ACUSTOM]</e></ACUSTOM>
~~##~~ 更好的
~~```~~
[BWARNING]This is n BWARNING message.[/BWARNING]
[BSUCCESS]This is a BSUCCESS message.[/BSUCCESS]
[BERROR]This is a BERROR message.[/BERROR]
[CWARNING]darkorange,white,darkorange,THIS IS A CWARNING TITLE,This is a CWARNING message.[/CWARNING]
[CNOTICE]teal,white,teal,THIS IS A CNOTICE TITLE,This is a CNOTICE message.[/CNOTICE]
[CERROR]red,white,red,THIS IS A CERROR TITLE,This is a CERROR message.[/CERROR]
[CSUCCESS]green,white,green,THIS IS A CERROR TITLE,This is a CSUCCESS message.[/CSUCCESS]
<e>```</e>
<BWARNING>~~[BWARNING]~~This is n BWARNING message.
<e>[/BWARNING]</e></BWARNING>
<BSUCCESS>~~[BSUCCESS]~~This is a BSUCCESS message.
<e>[/BSUCCESS]</e></BSUCCESS>
<BERROR>~~[BERROR]~~This is a BERROR message.
<e>[/BERROR]</e></BERROR>
<CWARNING content0="darkorange" content1="white" content2="darkorange" content3="THIS IS A CWARNING TITLE" content4="This is a CWARNING message.">~~[CWARNING]~~darkorange,white,darkorange,THIS IS A CWARNING TITLE,This is a CWARNING message.<e>[/CWARNING]</e></CWARNING>
<CNOTICE content0="teal" content1="white" content2="teal" content3="THIS IS A CNOTICE TITLE" content4="This is a CNOTICE message.">~~[CNOTICE]~~teal,white,teal,THIS IS A CNOTICE TITLE,This is a CNOTICE message.<e>[/CNOTICE]</e></CNOTICE>
<CERROR content0="red" content1="white" content2="red" content3="THIS IS A CERROR TITLE" content4="This is a CERROR message.">~~[CERROR]~~red,white,red,THIS IS A CERROR TITLE,This is a CERROR message.<e>[/CERROR]</e></CERROR>
<CSUCCESS content0="green" content1="white" content2="green" content3="THIS IS A CERROR TITLE" content4="This is a CSUCCESS message.">~~[CSUCCESS]~~green,white,green,THIS IS A CERROR TITLE,This is a CSUCCESS message.<e>[/CSUCCESS]</e></CSUCCESS>
~~##~~ 增加的
~~```~~
[BCUSTOM]title=THIS IS A BCUSTOM TITLE font=red bg=black border=green[/BCUSTOM]
[DNOTICE title="This is a DNOTICE title" font="teal" bg="white" border="teal"]This is a DNOTICE message.[/DNOTICE]
[DERROR title="This is a DERROR title" font="red" bg="white" border="red"]This is a DERROR message.[/DERROR]
[DWARNING title="This is a DWARNING title" font="darkorange" bg="white" border="darkorange"]This is a DWARNING message.[/DWARNING]
[DSUCCESS title="This is a DSUCCESS title" font="green" bg="white" border="green"]This is a DSUCCESS message.[/DSUCCESS]
<e>```</e>
<BCUSTOM content0="THIS IS A BCUSTOM TITLE" content1="red" content2="black" content3="green">~~[BCUSTOM]~~title=THIS IS A BCUSTOM TITLE font=red bg=black border=green<e>[/BCUSTOM]</e></BCUSTOM>
<DNOTICE bg="white" border="teal" font="teal" title="This is a DNOTICE title">~~[DNOTICE title="This is a DNOTICE title" font="teal" bg="white" border="teal"]~~This is a DNOTICE message.
<e>[/DNOTICE]</e></DNOTICE>
<DERROR bg="white" border="red" font="red" title="This is a DERROR title">~~[DERROR title="This is a DERROR title" font="red" bg="white" border="red"]~~This is a DERROR message.
<e>[/DERROR]</e></DERROR>
<DWARNING bg="white" border="darkorange" font="darkorange" title="This is a DWARNING title">~~[DWARNING title="This is a DWARNING title" font="darkorange" bg="white" border="darkorange"]~~This is a DWARNING message.
<e>[/DWARNING]</e></DWARNING>
<DSUCCESS bg="white" border="green" font="green" title="This is a DSUCCESS title">~~[DSUCCESS title="This is a DSUCCESS title" font="green" bg="white" border="green"]~~This is a DSUCCESS message.
<e>[/DSUCCESS]</e></DSUCCESS>
~~##~~ Font Awesome
````
```
Solid: [fas]circle[/fas]
Regular: [far]circle[/far]
Light: [fal]circle[/fal]
Brand: [fab]github[/fab]
```
````
Solid: [fas]circle[/fas]
Regular: [far]circle[/far]
Light: [fal]circle[/fal]
Brand: [fab]github[/fab]
注意:仅支持 **~~**~~FREE<e>**</e>** 不支持 **~~**~~Pro<e>**</e>** 版本。
~~##~~ 限制查看
````
```
这部分内容登录后可见
: 不登录用户不得查看
[LIKE]content to hide[/LIKE]: 只有点赞本贴才能查看
content to hide: 必须回复帖子才能查看
```
````
<LOGIN>~~
这部分内容登录后可见
</e></LOGIN>: 不登录用户不得查看
<LIKE>~~[LIKE]~~content to hide<e>[/LIKE]</e></LIKE>: 只有点赞本贴才能查看
<REPLY>~~~~content to hide<e></e></REPLY>: 必须回复帖子才能查看
注:版主和管理可无视点赞或回复条件
~~##~~ BBCode More New
右下角中BBCode More New图标(类似一个表格)可能观感不佳,不建议使用。
````
```
这部分内容登录后可见
此内容只有回复才能查看
```
````
<LOGIN>~~
这部分内容登录后可见
</e></LOGIN>
<REPLY>~~~~此内容只有回复才能查看<e></e></REPLY>
~~###~~ 网盘链接
~~```~~
[cloud type=google title=title url=link]password[/cloud]
[cloud type=one title=title url=link]password[/cloud]
[cloud type=f title=title url=link]password[/cloud]
[cloud type=mega title=title url=link]password[/cloud]
[cloud type=dropbox title=title url=link]password[/cloud]
[cloud type=mediafire title=title url=link]password[/cloud]
[cloud type=lz title=title url=link]password[/cloud]
[cloud type=123 title=title url=link]password[/cloud]
[cloud type=ali title=title url=link]password[/cloud]
[cloud type=bd title=title url=link]password[/cloud]
[cloud type=ty title=title url=link]password[/cloud]
[cloud type=360 title=title url=link]password[/cloud]
[cloud type=ct title=title url=link]password[/cloud]
[cloud type=tx title=title url=link]password[/cloud]
[cloud type=kk title=title url=link]password[/cloud]
[cloud type=other title=title url=link]password[/cloud]
[cloud type=github title=title url=link]v1.0.0[/cloud]
[cloud type=gitee title=title url=link]v1.0.0[/cloud]
<e>```</e>
<CLOUD title="title" type="google" url="link">~~[cloud type=google title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="one" url="link">~~[cloud type=one title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="f" url="link">~~[cloud type=f title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="mega" url="link">~~[cloud type=mega title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="dropbox" url="link">~~[cloud type=dropbox title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="mediafire" url="link">~~[cloud type=mediafire title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="lz" url="link">~~[cloud type=lz title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="123" url="link">~~[cloud type=123 title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="ali" url="link">~~[cloud type=ali title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="bd" url="link">~~[cloud type=bd title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="ty" url="link">~~[cloud type=ty title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="360" url="link">~~[cloud type=360 title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="ct" url="link">~~[cloud type=ct title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="tx" url="link">~~[cloud type=tx title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="kk" url="link">~~[cloud type=kk title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="other" url="link">~~[cloud type=other title=title url=link]~~password<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="github" url="link">~~[cloud type=github title=title url=link]~~v1.0.0<e>[/cloud]</e></CLOUD>
<CLOUD title="title" type="gitee" url="link">~~[cloud type=gitee title=title url=link]~~v1.0.0<e>[/cloud]</e></CLOUD>
***
------
如果输入的名称不属于上面的要求,则:
<CLOUD title="title" type="其他" url="link">~~[cloud type=其他 title=title url=link]~~内容<e>[/cloud]</e></CLOUD>
***
----
示例(链接到 GitHub 的 Note Wiki 项目)
````
```
[cloud type=github title=Note Wiki url=https://github.com/notewiki/notewiki.github.io]1.0.0[/cloud]
```
````
<CLOUD title="Note Wiki" type="github" url="https://github.com/notewiki/notewiki.github.io">~~[cloud type=github title=Note Wiki url=https://github.com/notewiki/notewiki.github.io]~~1.0.0<e>[/cloud]</e></CLOUD>
**~~**~~注意!<e>**</e>**此功能链接无法使用。所以使用时最好带有链接。
~~##~~ 标签
````
```
[tabs]
[tab="CleanNote"]
CleanNote是Note.ms的一个毁灭组织,其…………
[/tab]
[tab="ProtectNote"]
ProtectNote是一个Note.ms的保护组织,旨在保护组织免受CleanNote毁灭。
[/tab]
[/tabs]
```
````
<TABS>~~
[tabs]
~~
<TAB name="CleanNote">~~
[tab="CleanNote"]
~~CleanNote是Note.ms的一个毁灭组织,其…………
<e>
[/tab]
</e></TAB>
<TAB name="ProtectNote">~~
[tab="ProtectNote"]
~~ProtectNote是一个Note.ms的保护组织,旨在保护组织免受CleanNote毁灭。
<e>
[/tab]
</e></TAB>
<e>
[/tabs]
</e></TABS>
~~##~~ 需要展开的信息
````
```
[details\=TITLE]
CONTENT
[/details]
```
````
[details\=\"\"]
~~[details=TITLE]~~CONTENT
<e>[/details]</e>
[/details]
~~##~~ 进度条
````
```
[PBAR]Total,70% Complete,black,red,pink,1,70,5,40[/PBAR]
[PBAR]Front-end,30% Complete,black,blue,teal,1,30,10,80[/PBAR]
[PBAR]Back-end,40% Complete,black,black,gray,1,40,20,0[/PBAR]
```
````
<PBAR content0="Total" content1="70% Complete" content2="black" content3="red" content4="pink" content5="1" content6="70" content7="5" content8="40">~~[PBAR]~~Total,70% Complete,black,red,pink,1,70,5,40<e>[/PBAR]</e></PBAR>
<PBAR content0="Front-end" content1="30% Complete" content2="black" content3="blue" content4="teal" content5="1" content6="30" content7="10" content8="80">~~[PBAR]~~Front-end,30% Complete,black,blue,teal,1,30,10,80<e>[/PBAR]</e></PBAR>
<PBAR content0="Back-end" content1="40% Complete" content2="black" content3="black" content4="gray" content5="1" content6="40" content7="20" content8="0">~~[PBAR]~~Back-end,40% Complete,black,black,gray,1,40,20,0<e>[/PBAR]</e></PBAR>
注:语法为
````
```
[PBAR]标题,进度条内显示的文字,边框颜色,进度条颜色,进度条与白色之间的颜色,边框大小,百分比%,圆角(border-radius),BottomMargin[/PBAR]
```
````
~~##~~ 剧透内容
````
```
[spoiler]
Some content
[/spoiler]
```
````
[spoiler]
Some content
[/spoiler]
与detail标签用法相同
~~##~~ 非BBCode
~~###~~ 标签
语法:<C>~~`</s>#标签名的slug<e>`</e></C>
示例:#admin #discuss
代码:<C>` </s>#admin #discuss<e>`</e></C>
可以通过点击标签名查看地址栏后面的值得知slug。
###~~ TodoList
使用 Markdown 语法。
````
```
- [ ] 未完成
- [x] 已完成
```
````
<LIST>
- ~~-~~ <TASK id="668cc480a3a8a" state="unchecked">[ ]</TASK> 未完成
- ~~-~~ <TASK id="668cc480a3abd" state="checked">[x]</TASK> 已完成</LIST></r>
0
9
快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。
9 条回复
排序