~loges/haitch

a513fbe90ba2c8ad17d6a3b4bc72f99a8a4c8d9e — Logan Connolly 9 months ago aeb8cdb
docs: add documentation section in README.md
1 files changed, 8 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +8 -0
@@ 91,6 91,14 @@ print(dom)

The printed output above is prettified for better readability. The actual output is a minified string with no formatting.

## Documentation

Activate your virtual environment where `haitch` is installed and run:

```console
$ python -c "help('haitch')"
```

## Motivation

Inspired by the fantastic [htbuilder](https://github.com/tvst/htbuilder) library as an alternative to template engines. The library met most of my needs, but I really wanted to expand its functionality by leveraging modern Python features like typing. This coincided with my excitement for [Hypermedia-Driven Applications (HDAs)](https://htmx.org/essays/hypermedia-driven-applications/) with tools like `htmx` and `alpine`.