Public
Edited
May 25, 2024
Insert cell
Insert cell
Inputs.table(srt_json)
Insert cell
srt_json = {
var parser = new srtParser2();
var srt = await FileAttachment(
"The.office.us.S01E01.SAVANNAH.English-WWW.MY-SUBS.CO.srt"
).text();
return parser.fromSrt(srt);
}
Insert cell
srtParser2 = import("https://cdn.skypack.dev/srt-parser-2@1.2.3?min").then(
(d) => d.default
)
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