This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,7 @@
(mdx
(files iftrue.md)
(enabled_if true))
(mdx
(files iffalse.md)
(enabled_if false))

View file

@ -0,0 +1,2 @@
(lang dune 2.9)
(using mdx 0.1)

View file

@ -0,0 +1,3 @@
```ocaml
# print_endline "run in iffalse";;
```

View file

@ -0,0 +1,3 @@
```ocaml
# print_endline "run in iftrue";;
```

View file

@ -0,0 +1,7 @@
The mdx stanza supports (enabled_if):
$ dune runtest
File "iftrue.md", line 1, characters 0-0:
Error: Files _build/default/iftrue.md and
_build/default/.mdx/iftrue.md.corrected differ.
[1]