# html.nix — _the_ most cursed Nix HTML DSL
A quick example to show you what it looks like:
```nix
# Note: this example is for standalone usage out of depot
{ pkgs ? import {} }:
let
# zero dependency, one file implementation
htmlNix = import ./path/to/html.nix { };
# make the magic work
inherit (htmlNix) __findFile esc withDoctype;
in
pkgs.writeText "example.html" (withDoctype ( {} [
( {} [
( { charset = "utf-8"; } null)
( {} (esc "hello world"))
])
( {} [
(
{} (esc "hello world"))
(
{ class = "intro"; } (esc ''
welcome to the land of sillyness!
''))
(