File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -2947,6 +2947,21 @@ let%expect_test _ =
2947
2947
((f.ml (1 30) (1 37)) (bold (((f.ml (1 33) (1 36)) (word foo))))))))))))
2948
2948
(warnings ())) |}]
2949
2949
2950
+ let delimited_code_block_with_meta_and_output =
2951
+ test "{delim@ocaml env=f1 version>=4.06 [foo]delim[output {b foo}]}";
2952
+ [%expect
2953
+ {|
2954
+ ((output
2955
+ (((f.ml (1 0) (1 61))
2956
+ (code_block
2957
+ (((f.ml (1 7) (1 12)) ocaml)
2958
+ (((f.ml (1 13) (1 33)) "env=f1 version>=4.06")))
2959
+ ((f.ml (1 35) (1 38)) foo)
2960
+ ((paragraph
2961
+ (((f.ml (1 45) (1 51)) (word output)) ((f.ml (1 51) (1 52)) space)
2962
+ ((f.ml (1 52) (1 59)) (bold (((f.ml (1 55) (1 58)) (word foo))))))))))))
2963
+ (warnings ())) |}]
2964
+
2950
2965
(* Code block contains ']['. *)
2951
2966
let code_block_with_output_without_delim =
2952
2967
test "{[foo][output {b foo}]}";
You can’t perform that action at this time.
0 commit comments