开发者

wikimedia: formatting a code

In our projects wiki (a mediawiki wiki), I need to paste php / Js code from time to time.

I failed to find a decent, and reasonabl开发者_运维百科y simple way to present it as code and format it


You can either put the code in the pre tags, which won’t however highlight the syntax, or use one of the syntax highlighting extensions (Wikipedia, for example, uses SyntaxHighlight GeSHi).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜