Skip to content

Commit f465250

Browse files
committed
README
1 parent cb8043c commit f465250

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
An OCaml syntax dialect which adds JSX expressions to the language.
44

5-
```
5+
```ocaml
66
let header ~children () =
77
<header>
88
<h1>title</h1>
@@ -20,7 +20,7 @@ let page =
2020
```
2121

2222
This code is transformed into the following OCaml code:
23-
```
23+
```ocaml
2424
let header ~children () =
2525
header () ~children:[ h1 () ~children:[ title ] [@JSX]; ] [@JSX]
2626
@@ -52,7 +52,7 @@ opam install mlx ocamlmerlin-mlx
5252

5353
To make dune consider `.mlx` files as OCaml files you need to configure an mlx
5454
dialect, put this in your `dune-project` file:
55-
```
55+
```lisp
5656
(dialect
5757
(name mlx)
5858
(implementation

0 commit comments

Comments
 (0)