Public
Edited
Apr 15, 2024
Insert cell
# Readability & Turndown -- HTML Summary & HTML to markdown

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof mdInput = Inputs.textarea({ width: "100%", rows: 9 })
Insert cell
md`${mdInput}`
Insert cell
Insert cell
Turndown = (await import('https://esm.sh/turndown')).default
Insert cell
MozillaReadability = await import('https://esm.sh/@mozilla/readability')
Insert cell
Readability = MozillaReadability.Readability
Insert cell
isProbablyReaderable = MozillaReadability.isProbablyReaderable
Insert cell
service = new Turndown({
headingStyle: "atx"
})
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