mirror of
https://github.com/srid/ema.git
synced 2024-11-29 09:25:14 +03:00
Update README.md
This commit is contained in:
parent
6af3405718
commit
fe8a5c0a65
14
README.md
14
README.md
@ -4,17 +4,7 @@
|
|||||||
|
|
||||||
[![Hackage](https://img.shields.io/hackage/v/ema.svg?logo=haskell)](https://hackage.haskell.org/package/ema)
|
[![Hackage](https://img.shields.io/hackage/v/ema.svg?logo=haskell)](https://hackage.haskell.org/package/ema)
|
||||||
|
|
||||||
Ema is a next-gen **Haskell** library for building [jamstack-style](https://jamstack.org/) static sites, with fast hot reload. See [ema.srid.ca](https://ema.srid.ca/) for further information.
|
Ema is a next-gen **Haskell** library toolkit for building [jamstack-style](https://jamstack.org/) static sites, with fast hot reload. See [ema.srid.ca](https://ema.srid.ca/) for further information.
|
||||||
|
|
||||||
The simplest Ema app looks like this:
|
|
||||||
|
|
||||||
```haskell
|
|
||||||
main :: IO ()
|
|
||||||
main = do
|
|
||||||
let name :: Text = "Ema"
|
|
||||||
runEmaPure $ \_ ->
|
|
||||||
encodeUtf8 $ "<b>Hello</b>, from " <> name
|
|
||||||
```
|
|
||||||
|
|
||||||
https://user-images.githubusercontent.com/3998/116333460-789c1400-a7a1-11eb-8d28-297c349e42c6.mp4
|
https://user-images.githubusercontent.com/3998/116333460-789c1400-a7a1-11eb-8d28-297c349e42c6.mp4
|
||||||
|
|
||||||
@ -24,4 +14,4 @@ Run `bin/run` (or <kbd>Ctrl+Shift+B</kbd> in VSCode). This runs the clock exampl
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Use this template: https://github.com/srid/ema-docs
|
https://ema.srid.ca/start
|
||||||
|
Loading…
Reference in New Issue
Block a user