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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745250068a4618624.html
评论列表(0条)