js-code-doc
v6.4.0
Published
This is an interactive coding environment. You can write Javascript, see it executed, and write comprehensive documentation using markdown.
Downloads
3
Readme
JS-CODE-DOC
This is an interactive coding environment. You can write Javascript, see it executed, and write comprehensive documentation using markdown.
- Click any text cell to edit it
- The code in each code editor is all joined together into one file. If you define a variable in cell #1, you can refer to it in any following cell!
- You can show any React component, string, number, or anything else by calling the
view
function. This is a function built into this environment. Call view multiple times to show multiple values - Re-order or delete cells using the buttons on the top right
- Add new cells by hovering on the divider between each cell
- save sharable file into your directory and share it with your friends
All of your changes get saved to the file you opened JS-CODE-DOC with. So if you ran js-code-doc begin test.js
, all of the text and code you write will be saved to the test.js
file.
- do
npm i -g js-code-doc
js-code-doc begin or js-code-doc begin <filename>.js or js-code-doc begin <filename>.js --port <port>