Design your own WordPress inline code style

The code on this blog is presented through the SyntaxHighlighter Evolved plug-in,But I don't know why,I've been having trouble getting my code to render inline,Later I just used it myself span Tags are rendered with CSS,Later I noticed that I have never used the code button on the text editor.,Finally, simply write the new CSS into code Label,Then you can apply it quickly。

Modify CSS
Add the following program to "Additional CSS" in WordPress:

code {
	background-color: #e3e6e8;
	border-radius: 4px;
	padding: 1px 8px;
	color: black;
	font-family: Cosolas;
}

使用
While editing an article,Click the code button above,Just wrap the inline code。

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.