cnbook - code and text editor
Description
This is an interactive coding application. You can write Javascript, see it executed, and write comprehensive documentation useing markdow
You can write React code and import any available packages. Example: import axios from 'axios'
- You can add two types of cells: code cell and text cell(click to edit).
- The code in each code editor is all joined into one file. A variable defined in a code cell is available in any following code cell
- You can show any React component, string, number, etc. by calling
render()
function. This function is pre-built into this encironment - Re-order or delete cells using the buttons on the top right of a cell
- Add new cells by hovering on the divider between each cell
All of you changes get saved to the file you opened cnbook with
Download
You can install cnbook by running: npx cnbook serve
in your terminal
- Available commands:
- You can specify a file which will include your saved code:
npx cnbook serve name.js
- Run app on any port:
npx cnbook serve --port 4010