Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

untitled notebook

node v8.17.0
version: master
endpointsharetweet
const express = require('express'); const app = express(); app.get('/', (req, res) => { const body = `<html> <script src="https://embed.runkit.com"></script> <div id="my-element"></div> <script> RunKit.createNotebook({ element: document.getElementById("my-element"), onLoad: function(notebook) { notebook.setSource("test") } }) </script>`; res.send(body); }); app.listen(3000, () => console.log('Running...'));
Loading…

no comments

    sign in to comment