Google Code Prettify vs Blockly: What are the differences?
What is Google Code Prettify? An embeddable script that makes source-code snippets in HTML prettier. It is an embeddable script that makes source-code snippets in HTML prettier.It works on HTML pages. It is widely used with good cross-browser support.
Some of the features offered by Google Code Prettify are:
- Lightweights: small download and does not block page from loading while running
- Customizable styles via CSS
- Supports all C-like, Bash-like, and XML-like languages. No need to specify the language
On the other hand, Blockly provides the following key features:
- 100% client side. No server side dependencies
- Compatible with all major browsers: Chrome, Firefox, Safari, Opera, and IE
Google Code Prettify and Blockly are both open source tools. It seems that Blockly with 6.84K GitHub stars and 2.37K forks on GitHub has more adoption than Google Code Prettify with 4.95K GitHub stars and 827 GitHub forks.