Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: pug
node v12.22.12
endpoint
share
tweet
const pug = require('pug'); const template = ` h1 An example p #{name}'s Pug source code! ` const data = { name: 'Timothy' } pug.render(template, data)
Created from: https://npm.runkit.com/pug
Loading…
Clone and edit this document