在我的blogger / blogspot博客中添加漂亮的java代码格式需要采取哪些步骤?

时间:2021-11-24 07:22:35

I'm looking for a sequence of steps to add java code formatting to my blogspot blog.

我正在寻找一系列步骤来将java代码格式添加到我的blogspot博客中。

I'm really looking for a dummies guide - something so simple a cleaner could follow it if they found it on a piece of paper on the floor.

我真的在寻找一个虚拟指南 - 如果他们在地板上的一张纸上找到它,那么简单的清洁工可以跟着它。

3 个解决方案

#1


I use Google prettify script (* uses it also), here you can find a good guide for using it with blogger:

我使用谷歌美化脚本(*也使用它),在这里你可以找到一个很好的指南,用于博客:

You have other alternatives like SyntaxHighlighter, here also you can find a guide to use it with blogger (or any other blogging software)

您还有其他选择,例如SyntaxHighlighter,您也可以在这里找到与博客(或任何其他博客软件)一起使用的指南

#2


Take a look at Syntax Highlighter, also on google code, Java is one of the many supported languages

看看Syntax Highlighter,也是谷歌代码,Java是众多支持语言之一

http://code.google.com/p/syntaxhighlighter/

here is a post from Scott Hanselman on how to install and use: http://www.hanselman.com/blog/BestCodeSyntaxHighlighterForSnippetsInYourBlog.aspx

以下是Scott Hanselman关于如何安装和使用的帖子:http://www.hanselman.com/blog/BestCodeSyntaxHighlighterForSnippetsInYourBlog.aspx

#3


How about SyntaxHighlighter?

SyntaxHighlighter怎么样?

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript.

SyntaxHighlighter是一个用JavaScript开发的功能齐全的自包含代码语法高亮显示器。

Support:

ActionScript3 Bash/shell ColdFusion C# C++ CSS Delphi Diff Erlang Groovy JavaScript Java JavaFX Perl PHP Plain Text PowerShell Python Ruby Scala SQL Visual-Basic XML

ActionScript3 Bash / shell ColdFusion C#C ++ CSS Delphi Diff Erlang Groovy JavaScript Java JavaFX Perl PHP纯文本PowerShell Python Ruby Scala SQL Visual Basic

http://alexgorbatchev.com/SyntaxHighlighter - home page

http://alexgorbatchev.com/SyntaxHighlighter - 主页

#1


I use Google prettify script (* uses it also), here you can find a good guide for using it with blogger:

我使用谷歌美化脚本(*也使用它),在这里你可以找到一个很好的指南,用于博客:

You have other alternatives like SyntaxHighlighter, here also you can find a guide to use it with blogger (or any other blogging software)

您还有其他选择,例如SyntaxHighlighter,您也可以在这里找到与博客(或任何其他博客软件)一起使用的指南

#2


Take a look at Syntax Highlighter, also on google code, Java is one of the many supported languages

看看Syntax Highlighter,也是谷歌代码,Java是众多支持语言之一

http://code.google.com/p/syntaxhighlighter/

here is a post from Scott Hanselman on how to install and use: http://www.hanselman.com/blog/BestCodeSyntaxHighlighterForSnippetsInYourBlog.aspx

以下是Scott Hanselman关于如何安装和使用的帖子:http://www.hanselman.com/blog/BestCodeSyntaxHighlighterForSnippetsInYourBlog.aspx

#3


How about SyntaxHighlighter?

SyntaxHighlighter怎么样?

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript.

SyntaxHighlighter是一个用JavaScript开发的功能齐全的自包含代码语法高亮显示器。

Support:

ActionScript3 Bash/shell ColdFusion C# C++ CSS Delphi Diff Erlang Groovy JavaScript Java JavaFX Perl PHP Plain Text PowerShell Python Ruby Scala SQL Visual-Basic XML

ActionScript3 Bash / shell ColdFusion C#C ++ CSS Delphi Diff Erlang Groovy JavaScript Java JavaFX Perl PHP纯文本PowerShell Python Ruby Scala SQL Visual Basic

http://alexgorbatchev.com/SyntaxHighlighter - home page

http://alexgorbatchev.com/SyntaxHighlighter - 主页