54409a0702
* docs: fix readme * chore: scaffold prettier plugin * chore(prettier): switch to cjs * test(prettier): scaffold prettier tests * test(prettier): add simple prettier tests * feat(prettier): first pass * refactor: expose parser as CJS export * test(prettier): add long expression * refactor(prettier): use Astro parser + built-in prettier doc for prettier plugin * chore: remove parser from git * chore: add prettier-plugin-astro `build` to workflow * chore: update package-lock * chore: do not build prettier-plugin-astro * fix: update engines * chore: remove NPM restriction * chore: fix workflow paths * chore: update build script * test: fix prettier expr test * chore: fix parser build on windows * refactor: add parser tsconfig, extending base config * chore: relax ban-ts-comment * chore: fix lint issue Co-authored-by: Nate Moore <nate@skypack.dev>
16 lines
232 B
Text
16 lines
232 B
Text
---
|
|
import Color from "../components/Color.jsx";
|
|
|
|
let title = "My Site";
|
|
|
|
const colors = ["red", "yellow", "blue"];
|
|
---
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<title>My site</title>
|
|
</head>
|
|
<body>
|
|
<h1>{title}</h1>
|
|
</body>
|
|
</html>
|