Published
Edited
Jun 7, 2022
Insert cell
Insert cell
todo = md`**Example**
- Eat lunch
- Prep PR for adding new section to menu
- Try on tuxedo`
Insert cell
todoArray = [...todo.querySelectorAll("li")].map(d => d.innerText)
Insert cell
Insert cell
todo2 = md`**Example 2**
- ~~Eat lunch~~
- Prep PR for adding new section to menu
- Try on tuxedo`
Insert cell
todoArray1 = [...todo2.querySelectorAll("li")].map((d) => ({
text: d.innerText,
done: !!d.querySelector("del")
}))
Insert cell
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