| 1 |
The MDX stanza requires dune lang 2.4 or higher |
| 2 |
|
| 3 |
$ cat >dune-project <<EOF |
| 4 |
> (lang dune 2.3) |
| 5 |
> (using mdx 0.1) |
| 6 |
> EOF |
| 7 |
|
| 8 |
$ dune build @install |
| 9 |
File "dune-project", line 2, characters 11-14: |
| 10 |
2 | (using mdx 0.1) |
| 11 |
^^^ |
| 12 |
Warning: Version 0.1 of mdx extension to verify code blocks in .md files is |
| 13 |
not supported until version 2.4 of the dune language. |
| 14 |
There are no supported versions of this extension in version 2.3 of the dune |
| 15 |
language. |
| 16 |
|
| 17 |
File "dune", line 1, characters 0-5: |
| 18 |
1 | (mdx) |
| 19 |
^^^^^ |
| 20 |
Error: 'mdx' is only available since version 2.4 of the dune language. Please |
| 21 |
update your dune-project file to have (lang dune 2.4). |
| 22 |
[1] |
| 23 |
|
| 24 |
The version 0.2 requires dune 3.0 |
| 25 |
|
| 26 |
$ cat >dune-project <<EOF |
| 27 |
> (lang dune 2.9) |
| 28 |
> (using mdx 0.2) |
| 29 |
> (cram disable) |
| 30 |
> EOF |
| 31 |
$ dune build @install |
| 32 |
File "dune-project", line 2, characters 11-14: |
| 33 |
2 | (using mdx 0.2) |
| 34 |
^^^ |
| 35 |
Error: Version 0.2 of mdx extension to verify code blocks in .md files is not |
| 36 |
supported until version 3.0 of the dune language. |
| 37 |
Supported versions of this extension in version 2.9 of the dune language: |
| 38 |
- 0.1 |
| 39 |
[1] |