You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/generators/markdown/Markup.md
+14-15
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ but odoc has banned deeper headings. There are also title headings, but they are
36
36
### Anchors
37
37
38
38
39
-
Sections can have attached [Anchors](#anchors), and it is possible to [link](#anchors) to them. Links to section headers should not be set in source code style.
39
+
Sections can have attached Anchors, and it is possible to link to them. Links to section headers should not be set in source code style.
40
40
41
41
42
42
@@ -67,8 +67,7 @@ _emphasis_, __emphasis_ within emphasis_, **_bold italic_**, super<sup>script, s
67
67
68
68
Note: _In italics _emphasis_ is rendered as normal text while _emphasis
69
69
_in_ emphasis_ is rendered in italics._
70
-
_It also work the same in [links](#)[](#)[in](#)[](#)[italics](#)[](#)
71
-
[with](#)[](#)[.](#)_
70
+
_It also work the same in links in italics with _emphasis _in_ emphasis_._
72
71
73
72
74
73
`` code
@@ -92,17 +91,17 @@ Code can appear **inside `` other`` markup**. Its display shouldn't be affected
92
91
# Links and references
93
92
94
93
95
-
This is a [link](#). It sends you to the top of this page. Links can have markup inside them: , , ,
96
-
[super](#), [sub](#), and . Links can also be nested _[inside](#)_ markup. Links cannot be nested inside each other. This link has no replacement text:
97
-
[#](#). The text is filled in by odoc. This is a shorthand link: [#](#). The text is also filled in by odoc in this case.
94
+
This is a link. It sends you to the top of this page. Links can have markup inside them:
95
+
**bold**, _italics_, _emphasis_, super<sup>script, sub<sub>script, and
96
+
`` code
97
+
`` . Links can also be nested _inside_ markup. Links cannot be nested inside each other. This link has no replacement text: #. The text is filled in by odoc. This is a shorthand link: #. The text is also filled in by odoc in this case.
98
98
99
99
100
-
This is a reference to [`` foo
101
-
`` ](#val-foo). References can have replacement text: [the value foo](#val-foo). Except for the special lookup support, references are pretty much just like links. The replacement text can have nested styles: [
<sup>script](#val-foo), [sub<sub>script](#val-foo), and [`` code
104
-
`` ](#val-foo). It's also possible to surround a reference in a style:
105
-
**[`` foo``](#val-foo)**. References can't be nested inside references, and links and references can't be nested inside each other.
100
+
This is a reference to `` foo
101
+
`` . References can have replacement text: the value foo. Except for the special lookup support, references are pretty much just like links. The replacement text can have nested styles:
102
+
**bold**, _italic_, _emphasis_, super<sup>script, sub<sub>script, and
103
+
`` code
104
+
`` . It's also possible to surround a reference in a style: **`` foo`` **. References can't be nested inside references, and links and references can't be nested inside each other.
106
105
107
106
108
107
@@ -165,8 +164,8 @@ can use explicitly-delimited lists.
165
164
166
165
- and can include references
167
166
168
-
-[`` foo
169
-
`` ](#val-foo)
167
+
- `` foo
168
+
``
170
169
171
170
172
171
@@ -245,7 +244,7 @@ Each comment can end with zero or more tags. Here are some examples:
The module needs at least one signature item, otherwise a bug causes the compiler to drop the module comment (above). See https://caml.inria.fr/mantis/view.php?id=7701.
0 commit comments