Skip to content

Commit 8d011f9

Browse files
committed
Cheatsheet: do not highligh code blocks as ocaml code.
Signed-off-by: Paul-Elliot <peada@free.fr>
1 parent e13a929 commit 8d011f9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/cheatsheet.mld

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Quick reference for the odoc language!
99
{th Render as}}
1010
{tr
1111
{th Paragraphs}
12-
{td {[
12+
{td {@text[
1313
A first paragraph
1414

1515
A second paragraph]}}
@@ -19,7 +19,7 @@ Quick reference for the odoc language!
1919
A second paragraph}}
2020
{tr
2121
{th {{!odoc_for_authors.sections}Headings}}
22-
{td {[
22+
{td {@text[
2323
{1 Title}
2424
{2 Subtitle}
2525
{3 Subsubtitle}
@@ -31,7 +31,7 @@ Quick reference for the odoc language!
3131

3232
Standalone pages must start with a [0] heading:
3333

34-
{[
34+
{@text[
3535
{0 Page big title}
3636
]}}
3737
{td
@@ -43,15 +43,15 @@ Quick reference for the odoc language!
4343
See {%html:<a href="#my_id">Referenceable title</a>%}}}
4444
{tr
4545
{th {{!odoc_for_authors.basics}Bold, italic and emphasis}}
46-
{td {[{b bold} text, {e italic text}, {e emphasized} text]}}
46+
{td {@text[{b bold} text, {e italic text}, {e emphasized} text]}}
4747
{td {b bold} text, {e italic text}, {e emphasized} text}}
4848
{tr
4949
{th {{!odoc_for_authors.basics}Subscripts and superscript}}
50-
{td {[H{_ 2}O and 1{^ st}]}}
50+
{td {@text[H{_ 2}O and 1{^ st}]}}
5151
{td H{_ 2}O and 1{^ st}}}
5252
{tr
5353
{th {{!odoc_for_authors.links_and_references}Link} }
54-
{td {[
54+
{td {@text[
5555
Here is a link: {:https://www.example.com}.
5656

5757
You can also click {{:https://www.example.com}here}.]}}
@@ -61,7 +61,7 @@ Quick reference for the odoc language!
6161
You can also click {{:https://www.example.com}here}.}}
6262
{tr
6363
{th {{!odoc_for_authors.links_and_references}References} }
64-
{td {[
64+
{td {@text[
6565
See {!Odoc_odoc.Compile.compile}.
6666

6767
See {{!Odoc_odoc.Compile.compile}this function}.
@@ -75,7 +75,7 @@ Quick reference for the odoc language!
7575
See {{!odoc_for_authors.links_and_references}this section} for the syntax of references.}}
7676
{tr
7777
{th {{!odoc_for_authors.lists}Lists} }
78-
{td {[
78+
{td {@text[
7979
- First item
8080
- Second item
8181

@@ -145,7 +145,7 @@ Quick reference for the odoc language!
145145
{td {v verbatim text v}}}
146146
{tr
147147
{th {{!odoc_for_authors.math}Math} }
148-
{td {[
148+
{td {@text[
149149
For inline math: {m \sqrt 2}.
150150

151151
For display math:
@@ -159,7 +159,7 @@ Quick reference for the odoc language!
159159
{math \sqrt 2}}}
160160
{tr
161161
{th {{!odoc_for_authors.tables}Table} }
162-
{td {[
162+
{td {@text[
163163
Light syntax:
164164

165165
{t | Header 1 | Header 2 |

0 commit comments

Comments
 (0)