bbcode
BBCode is another markup language to format posts widely by forums, which is easier and clearer than HTML. WordPress provides a visual editor and some easy-to-use tools, but no built-in BBCode support. Let’s see how to add BBCode support in WordPress.
BBCode是另一种用于在论坛上广泛设置帖子格式的标记语言,它比HTML更容易,更清晰。 WordPress提供了可视化编辑器和一些易于使用的工具 ,但没有内置的BBCode支持。 让我们看看如何在WordPress中添加BBCode支持。
We can add BBCode support to WordPress with the BBCode plugin by bOingball that extends the BBCode plugin by Viper007Bond. As installing normal plugins, install BBCode and activate it. Then you can format your WordPress post with BBCode now.
我们可以通过bOingball的BBCode插件为WordPress添加BBCode支持,该插件扩展了Viper007Bond的BBCode 插件 。 在安装普通插件时,请安装BBCode并激活它。 然后,您可以立即使用BBCode格式化WordPress帖子。
For example, to have these following content:
例如,具有以下内容:
The URL: Fclose.com
网址: Fclose.com
int main(int argc, char* args[])
{
printf("Hello World!n");
return;
}
The BBCode to generate the above content is:
生成上述内容的BBCode为:
The URL: [url="https://www.systutorials.com/b/"]Fclose.com[/url]
<pre>
int main(int argc, char* args[])
{
printf("Hello World!n");
return;
}
</pre>
Pretty cool, right? Enjoy it ;)
很酷吧? 好好享受 ;)
翻译自: https://www.systutorials.com/bbcode-support-in-wordpress/
bbcode