Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypopp committed Jun 19, 2024
1 parent cb8043c commit f465250
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

```
```ocaml
let header ~children () =
<header>
<h1>title</h1>
Expand All @@ -20,7 +20,7 @@ let page =
```

This code is transformed into the following OCaml code:
```
```ocaml
let header ~children () =
header () ~children:[ h1 () ~children:[ title ] [@JSX]; ] [@JSX]
Expand Down Expand Up @@ -52,7 +52,7 @@ opam install mlx ocamlmerlin-mlx

To make dune consider `.mlx` files as OCaml files you need to configure an mlx
dialect, put this in your `dune-project` file:
```
```lisp
(dialect
(name mlx)
(implementation
Expand Down

0 comments on commit f465250

Please sign in to comment.