wordpress里默认是无法显示html部分内容的内容,需要使用第三方插件才可以显示,我这使用的是code markup插件。
若需要严格的HTML内容显示,应该这样使用:
具体的使用方法如下:
*
or
allows common HTML tags to be rendered, and displays everything else exactly as written.
* displays content exactly as written — no markup allowed.
* renders content as HTML — all markup is allowed.
* allows only , and tags to be rendered as HTML — everything else is displayed exactly as written. You can put whatever tags you like in the allow attribute, separated by spaces. As a special case, you can include the comment tag — this means that HTML comments will be “rendered” as normal HTML comments (i.e. not displayed).
* or
displays content exactly as written, the same as
.
code markup插件的使用
来自
标签:
发表回复