File tree 1 file changed +21
-16
lines changed
test/integration/markdown.t
1 file changed +21
-16
lines changed Original file line number Diff line number Diff line change 2
2
3
3
(* * {2:label This has a label}*)
4
4
5
- (* * arrows (->) in a doc comment *)
5
+ (* * arrow (->) in a doc comment *)
6
6
7
7
val concat : string -> string -> string
8
8
9
9
(* * {%html:foo:bar%} : a raw markup *)
10
10
11
- type t
11
+ type t
12
12
(* * Doc for [type t]. *)
13
13
14
14
type a = t
22
22
module type Bar' = sig
23
23
type bar'
24
24
end
25
- module type Foo = sig
26
25
26
+ module type Foo = sig
27
+ type foo
27
28
(* * docs for x *)
28
- type foo
29
29
30
- include Bar '
30
+ include Bar '
31
31
32
- module type Foo' = sig
33
- type foo'
34
- type days =
35
- | Mon (* * first day of the week. *)
32
+ module type Foo' = sig
33
+ type foo'
36
34
37
- type num =[ `One ]
38
-
39
- end
35
+ type days = Mon (* * first day of the week. *)
40
36
37
+ type num = [ `One ]
38
+ end
41
39
end
42
40
43
- type name = {fname : string ; (* * first name *) lname : string }
41
+ type other_names = { given : string ; nickname : string }
42
+
43
+ type name = {
44
+ fname : string ; (* * first name *)
45
+ lname : string ;
46
+ others : other_names ;
47
+ }
44
48
45
49
(* * {2:foo Label} *)
46
50
@@ -50,7 +54,6 @@ type name = {fname : string; (** first name *) lname: string}
50
54
51
55
(* * {{:href} test two foo } *)
52
56
53
- (* * {{:href} {foo_bar} } *)
54
57
(* * {{:href} **barz** } *)
55
58
56
59
(* * {v
@@ -84,12 +87,13 @@ A numbered list:
84
87
@author David Sheets
85
88
*)
86
89
87
-
88
90
(* * The end foo end keyword in doc comment. *)
89
91
module Foo : sig
90
92
type foo
93
+
91
94
type poly = [ `Mon | `Tue ]
92
- type name = { fname :string ; lname : string }
95
+
96
+ type name = { fname : string ; lname : string }
93
97
end
94
98
95
99
(* * p1 *)
104
108
} *)
105
109
106
110
(* * This is where I begin my thing from. *)
111
+
107
112
(* * {ol
108
113
{- one}
109
114
{- two}
You can’t perform that action at this time.
0 commit comments