All Projects → thangngoc89 → react-code-playground

thangngoc89 / react-code-playground

Licence: MIT license
A playground component built for React.js

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

This project is under heavy development If you a looking for a stable one you can use jotted or editr.js

Code playground No Maintenance Intended

A component for rendering HTML, CSS, Javascript code with editable source and live preview. You can think of this like CodePen or JSFiddle of you own.

travis-ci.org codecov.io

Install

npm install --save code-playground

(WIP)

Plugins

Parsers (aka preprocessors)

code-playground is a lightweight component with no built-in preprocessors (I called them parsers). You can add parsers via plugin interface.

List of available parsers

  • SASS (built-in, will be refactored into it's own package)

Development

git clone https://github.com/thangngoc89/react-playground-component
npm install
npm start

FAQ

1. How is this different from component-playground

component-playground is for React Components while code-playground is for any front-end code that can be display on browser.

2. Can I use this on a site doesn't use React ?

Sorry but I don't have plan for this at the momment.

You can use some standalone alternative solution like jotted or editr.js. In facts, Code playground was inspired by those projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].