Setup vcs, editor, language, and package configs for a basic site generator using TSX to build an html website.
15 lines
243 B
TypeScript
15 lines
243 B
TypeScript
import { htmlDocument, prettify } from "antihtml";
|
|
|
|
export const index = htmlDocument(
|
|
prettify(
|
|
<html>
|
|
<head>
|
|
<title>My Website</title>
|
|
</head>
|
|
<body>
|
|
<h1>My Website</h1>
|
|
<p>Hello world!</p>
|
|
</body>
|
|
</html>
|
|
)
|
|
);
|