We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8043c commit f465250Copy full SHA for f465250
README.md
@@ -2,7 +2,7 @@
2
3
An OCaml syntax dialect which adds JSX expressions to the language.
4
5
-```
+```ocaml
6
let header ~children () =
7
<header>
8
<h1>title</h1>
@@ -20,7 +20,7 @@ let page =
20
```
21
22
This code is transformed into the following OCaml code:
23
24
25
header () ~children:[ h1 () ~children:[ title ] [@JSX]; ] [@JSX]
26
@@ -52,7 +52,7 @@ opam install mlx ocamlmerlin-mlx
52
53
To make dune consider `.mlx` files as OCaml files you need to configure an mlx
54
dialect, put this in your `dune-project` file:
55
+```lisp
56
(dialect
57
(name mlx)
58
(implementation
0 commit comments