Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/otherjoel/html-printer
- Owner: otherjoel
- License: other
- Created: 2023-12-28T23:14:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-22T16:19:37.000Z (5 months ago)
- Last Synced: 2024-12-06T18:59:44.001Z (about 2 months ago)
- Language: Racket
- Size: 229 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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?