1.0.3 • Published 3 years ago

code-cell v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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 ...

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago