Public
Edited
Aug 5, 2024
1 star
Insert cell
Insert cell
viewof text = textarea()
Insert cell
as_markdown_list = "```\n" +
deduped_and_ordered.map((item) => `- ${item}`).join("\n") +
"\n```"
Insert cell
matches = [...text.matchAll(/#\d+/g)];
Insert cell
deduped_and_ordered = Array.from(new Set(matches.map(m => m[0]))).sort(
(a, b) => parseInt(a.slice(1)) - parseInt(b.slice(1))
);
Insert cell
import {textarea} from "@jashkenas/inputs"
Insert cell
new Date()
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