This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(mdx
|
||||
(files iftrue.md)
|
||||
(enabled_if true))
|
||||
|
||||
(mdx
|
||||
(files iffalse.md)
|
||||
(enabled_if false))
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
(lang dune 2.9)
|
||||
(using mdx 0.1)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
```ocaml
|
||||
# print_endline "run in iffalse";;
|
||||
```
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
```ocaml
|
||||
# print_endline "run in iftrue";;
|
||||
```
|
||||
|
|
@ -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]
|
||||
Loading…
Add table
Add a link
Reference in a new issue