# Shpadoinkle Backend Static
[](https://gitlab.com/fresheyeball/Shpadoinkle)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://builtwithnix.org)
[](https://hackage.haskell.org/package/Shpadoinkle-backend-static)
[](http://packdeps.haskellers.com/reverse/Shpadoinkle-backend-static)
[](https://matrix.hackage.haskell.org/#/package/Shpadoinkle-backend-static)
This module provides a static rendering backend that translates Shpadoinkle `Html` into `Text`.
For example
```haskell
page :: Html' a
page = h "div" [ ("class", PText "header" ) ]
[ h "h1" [] [ text "Trappers!" ] ]
main = putStrLn $ unpack $ renderStatic page
```
will output
```html
<div class="header"><h1>Trappers!</h1></div>
```