Skip to content

bnmnetp/newactivecode

Repository files navigation

newactivecode

See: https://github.com/bnmnetp/runestone/wiki/RSE-0001

To try this out quickly use bower to install these dependencies.

bower install codemirror
bower install skulpt
bower install jquery
bower install jquery-ui

Then load the actest.html file into your browser. It should look a lot like this:

Now HTML like this:

<body>
<pre data-component="activecode" data-lang="python" id="test1">
def foo():
    print 'hello world'

foo()
</pre>

<pre data-component="activecode" data-lang="python" id="test2" data-include="test1 test2">
def main():
    print 'goodbye girl'

main()
====
print "This is hidden suffix code you don't see it in the editor"
</pre>

</body>

Can create a page that looks like this:

screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published