React Prism provides a React-specific interface that simplifies the process of embedding and then adding a syntax coloring theme to the code in your React applications.
The plugin basically adapts the Prism source code & syntax highlighting JavaScript library to React.
It supports all the original programming languages highlighting schemes, along with its UI skins.
Examples and usage instructions are included with the download package.
What is new in this release:
- Upgrade to React@^0.14.
What is new in version 1.4.1:
- PrismCode: should respond to children update.
What is new in version 1.3.0:
- PrismCode: should respond to children update.
What is new in version 1.2.1:
- PrismCode: should respond to children update.
Requirements:
- JavaScript enabled on client side
- React
Bình luận không