1.0.3 • Published 3 years ago
code-cell v1.0.3
Code Cell
How Code Cell works
Starting Code Cell involves the following steps:
- Loading the code cell javascript, typically from a CDN
- Write in this format under body tag:
<div data-executable="true" data-restart-after-run="true">
<code data-type="setup"> print('setup code') </code>
<code data-type="prompt"> # to do </code>
<code data-type="test"> print('test code 1') </code>
</div>
Add as many div as needed. The code block will only show when data-executable is set to true
.
Acknowledgements
code-cell
was developed as a part of ...