observablehq / framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
https://observablehq.com/framework/
ISC License
2.13k stars 85 forks source link

Inline expressions within triple-backticks within HTML blocks are not parsed correctly #1435

Closed mbostock closed 3 weeks ago

mbostock commented 3 weeks ago

Here, the backticks are interpreted literally because they are inside an HTML block, and hence the inline expression should be allowed.

<div>

${1 + 2}

</div>
mbostock commented 3 weeks ago

Fixed in #1438.