diff --git a/README.md b/README.md index 344ca7e..8294aac 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ An OCaml syntax dialect which adds JSX expressions to the language. -``` +```ocaml let header ~children () =

title

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