在 WordPress 帖子中格式化 Java 代码,就像在 Eclipse 中一样 [英] Formatting Java code in WordPress posts, like in Eclipse

查看:28
本文介绍了在 WordPress 帖子中格式化 Java 代码,就像在 Eclipse 中一样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将写一些包含一些 Java 代码的帖子,我想通过为 Java 关键字着色来正确格式化.就像在 Eclipse 中一样.

I am about to write some posts which has some Java code, and I would like to format it properly by coloring the Java keywords. Like in Eclipse.

我正在寻找一些关于要使用的主题/插件的推荐.

I am looking for some recommendation for a theme / plugin to use.

推荐答案

Chili 代码格式化程序 是一个很好的 WordPress 插件.

The Chili code formatter is a good WordPress plugin to do that.

替代链接:WP Chili

您可以使用 此页面 或此另一个.

然而,它自 2010 年以来一直没有更新.也许你应该使用最近的一个,比如 WP 代码 插件.

However, it has not been updated for since 2010. Maybe you should use much recent one like the WP Code plugin.

似乎新版本的 WordPress 已经支持代码发布.对我来说也很有趣,哈哈.

It seems new versions of WordPress have already included the support of code posting. It is very interesting for me too, LOL.

这篇关于在 WordPress 帖子中格式化 Java 代码,就像在 Eclipse 中一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆