πŸ““ Runkit

Embed a Runkit notebook

Another codefence render hook. Add runkit to a page by adding the word runkit after the three backticks. This will render a Runkit on the page. You can embed a REPL with npm packages and endpoints.

Don’t create loads of these on a page, they’re heavy.

```runkit
//Load the 'express' library
const express = require("express");

const app = express();

//Register some handlers for different routes.
app.get("/", (request, response) => {
    response.send("Hello thar!");
});
//Tell the server to start listening for requests.
app.listen(3000);
```
//Load the 'express' library to easily handle HTTP conversations: const express = require("express"); const app = express(); //Register some handlers for different routes. app.get("/", (request, response) => { response.send("Hello thar!"); }); //Tell the server to start listening for requests. app.listen(3000);