Published
Edited
May 16, 2019
1 fork
Importers
1 star
Insert cell
md`# QR code

${message}

![](${qr(paypal)})

`
Insert cell
message = `

## Museum of Chinese in America

Donate to
Museum of Chinese in America

Purpose: MOCA Spike 150 - Support MOCA
`
Insert cell
paypal = 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AZGJLVBXNR67Y&source=qr'
Insert cell
qr = (url) => {
let code = qrcode(0, 'M');
code.addData(url);
code.make();
return code.createDataURL(32)
}
Insert cell
qrcode = require('qrcode-generator')
Insert cell
md`

[RTFM](https://github.com/kazuhikoarase/qrcode-generator)
`
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more