Platform
Resources
Pricing
Sign in
Get started
Benjamin
Workspace
Fork
Published
By
Benjamin
Edited
Oct 29, 2020
Importers
1 star
Insert cell
Insert cell
compileSass
(
`body { h1 { font-size: 36px; } }`
)
Insert cell
compileSass
=
text
=>
new
Promise
(
(
resolve
,
reject
)
=>
{
Sass
.
compile
(
text
,
result
=>
{
if
(
result
.
status
===
0
)
{
resolve
(
result
.
text
)
}
else
{
const
message
=
result
.
formatted
.
replace
(
"of /stdin"
,
""
)
reject
(
message
)
}
}
)
}
)
Insert cell
Insert cell
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
compileSass
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
sassVersion
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Sass
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML