Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/tests/docs/playwright/ojs/test-ojs.qmd
3562 views
---
title: "Hello Quarto OJS"
format: html
---

## Cell 1, imports and input

```{ojs}
import {text} from '@jashkenas/inputs'

viewof name = text({
  title: "what's your name?",
  value: ''
})
```

## Cell 2, output

```{ojs}
md`Hello **${name}**, it's nice to meet you!`
```