Prism will take a regular 'pre' or 'code' element and transform it into a colorful piece of text, increasing its readability and display style.
The library is ideal for Web pages where code needs to be easily seen, like tutorials, documentation sites, or coding playgrounds.
Prism is also framework agnostic and ready for the new HTML 5 standard.
A demo is included with the download package.
Features:
- Themeable
- No dependencies
- Very lightweight size
- Easy to style via CSS
- A plugin architecture for extending functionality
- Works with all modern browsers
- Supported languages:
- CSS
- SCSS
- HTML
- PHP
- SQL
- Java
- JavaScript
- CoffeeScript
- ASP.NET
- Bash
- Go
- Scala
- Grrovy
- Ruby
- Python
- C-like languages
- Generic markup
Requirements:
- JavaScript enabled on client side
Limitations:
- No support for IE 8 or lower.
Comentários não encontrado