Rename render to render-to-string

This commit is contained in:
Akira Tempaku 2024-06-01 22:49:15 +09:00
parent 6d894ed9a1
commit 626fa3fe3e
4 changed files with 39 additions and 29 deletions

View file

@ -125,12 +125,9 @@ Which generates:
</div>
```
To output HSX as an HTML string, use the `render` method. By default, pretty-printing is enabled, but you can disable it by enabling the `minify` option.
To output HSX as an HTML string, use the `render-to-string` method.
```lisp
(render (hsx ...))
; or
(render (hsx ...) :minify t)
(render-to-string (hsx ...))
```
## License