admin管理员组文章数量:1416334
Using Wordpress 5.2 and classic editor, I just want to display HTML code in my post. I use Prismatic as syntax highlighter.
In my post, in the "text editor", I wrote this :
But when I publish my post, all html disapear ? Do I need to do something special ?
EDIT
Works if I use <
and >
instead of <
and >
, so I will keep this way
Using Wordpress 5.2 and classic editor, I just want to display HTML code in my post. I use Prismatic as syntax highlighter.
In my post, in the "text editor", I wrote this :
But when I publish my post, all html disapear ? Do I need to do something special ?
EDIT
Works if I use <
and >
instead of <
and >
, so I will keep this way
1 Answer
Reset to default 0Try this. Paste your code in the "text editor" and UPDATE it without clicking the "visual editor". See the preview of the post.
本文标签: editorDisplay simple html code in post
版权声明:本文标题:editor - Display simple html code in post 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745250067a2649769.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论