1
1
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:
Sridhar Ratnakumar 2021-04-28 00:07:35 -04:00 committed by GitHub
parent 6af3405718
commit fe8a5c0a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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