Published
Edited
Apr 16, 2021
2 stars
Insert cell
Insert cell
Insert cell
md`
### Exampe with Javascript code:
~~~js
${js_beautify(`
// This is just a sample script. Paste your real code (javascript or HTML) here.
if ('this_is'==/an_example/){of_beautifier();}else{var a=b?(c%d):e[f];}
`)}
~~~`
Insert cell
md`
### Example with Observable code:
~~~ojs
${js_beautify(`
viewof moduleName = text({ placeholder: "module-name",description:"Enter the module’s name, as it is on npm. For example, try wcag-contrast.",submit: "Go",value: params.get("module") || null})
`)}
~~~`
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