Skip to content

Commit ce26d7e

Browse files
committed
Mention breeze on documentation
1 parent b1fdb37 commit ce26d7e

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ main = FAN.mount_ (QuerySelector "body") {
7070
}
7171
```
7272

73+
### Tools
74+
75+
[breeze](https://github.com/easafe/haskell-breeze) can be used to generate Flame markup from HTML
76+
7377
### Licensing
7478

7579
Licenses for loadash, stage0 and snabbdom-to-html added under [licenses](licenses/) since parts of the rendering code was adapted from these projects

docs/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Flame is a PureScript front-end framework inspired by the Elm architecture with
1515

1616
* Performance comparable to native JavaScript frameworks -- see [benchmarks](benchmarks)
1717

18+
* Parse HTML into Flame markup with [breeze](https://github.com/easafe/haskell-breeze)
19+
1820
## Quick start
1921

2022
Install:

docs/views.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ type Application model message = {
1919

2020
`view` maps the current state to markup. Whenever the model is updated, Flame patches the DOM by calling the `view` function with the new state.
2121

22-
A custom DSL, defined by the type `Html`, is used to write markup. You will likely need to qualify imports, e.g., prefix HE for HTML elements and HA for HTML attributes and events
22+
A custom DSL, defined by the type `Html`, is used to write markup. Alternatively, [breeze](https://github.com/easafe/haskell-breeze) can generate Flame views from HTML.
23+
24+
You will likely need to qualify imports, e.g., prefix HE for HTML elements and HA for HTML attributes and events
2325

2426
```haskell
2527
import Flame.Html.Element as HE

0 commit comments

Comments
 (0)