Implement Prettier for html`` template literals?

It seems that Prettier has been supporting html`` template literal formatting since 2018: Prettier 1.15: HTML, Vue, Angular and MDX Support · Prettier

Was curious why this isn’t working in ObservableHQ. I have Prettier ON and it works for any JS but not for html`` templates. Thanks!

1 Like

I think this is because they only load in the parser for JS. In order for inline HTML/CSS literals to work they’d also have to import the corresponding parsers.