Skip to content

Commit 895129c

Browse files
committed
fix typos on melangi
1 parent 748cee4 commit 895129c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/compiling-to-js-with-melange.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: Melange
33
---
44

5-
One of the best usages of Reason is to compile it to JavaScript an run it in the browser or any JavaScript platform such as [Node.js](https://nodejs.org), [Deno](https://deno.com), [Cloudflare Workers](https://workers.cloudflare.com).
5+
ne of the best ways to use Reason is by compiling it to JavaScript and running it in a web browser or on any other environment with a JavaScript runtime, such as [Node.js](https://nodejs.org), [Deno](https://deno.com), [Cloudflare Workers](https://workers.cloudflare.com).
66

7-
Reason compiles to JavaScript thanks to our partner project, [Melange](https://melange.re).
7+
Reason source code can be compiled to JavaScript through our partner project, [Melange](https://melange.re).
88

99
## What's Melange?
1010

@@ -71,9 +71,9 @@ The `melange.emit` stanza tells dune to generate JavaScript files from a set of
7171

7272
#### Libraries
7373

74-
dune allows to define libraries by creating a dune file inside a folder and adding a library stanza: https://dune.readthedocs.io/en/stable/concepts/package-spec.html#libraries
74+
`dune` allows to define libraries by creating a `dune` file inside a folder and adding a [`library` stanza](https://dune.readthedocs.io/en/stable/concepts/package-spec.html#libraries).
7575

76-
To compile a library with melange, add the `(modes melange)` stanza to the library dune file.
76+
To compile a library with melange, add the `(modes melange)` stanza to the library `dune` file.
7777

7878
```diff
7979
(library

0 commit comments

Comments
 (0)