Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/otherjoel/html-printer

A content-aware HTML5 printer for Racket
https://github.com/otherjoel/html-printer

Last synced: about 1 month ago
JSON representation

A content-aware HTML5 printer for Racket

Awesome Lists containing this project

README

        

`html-printer`
==============

A Racket library for converting X-expressions to strings of HTML with content-aware line wrapping
and indentation. Comments and PRs welcome.

**Documentation is at **

This package requires Racket 8.13 or higher.

To install:

> raco pkg install html-printer

## Lingering questions…

- How much logging/debugging instrumentation should be left in? (Probably none except for errors,
but see next question)

- What should happen when an X-expression's structure is not valid HTML, such as a `

` inside a
`

`? Currently it just logs an error, but maybe it should throw an exception?