Rename render to render-to-string
This commit is contained in:
parent
6d894ed9a1
commit
626fa3fe3e
4 changed files with 39 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue