Debian Codegraph @

gcc/testsuite/gdc.test/compilable/ddoc_markdown_tables.d

raw
1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // TEST_OUTPUT_FILE: extra-files/ddoc_markdown_tables.html
4 // OUTPUT_FILES: ${RESULTS_DIR}/compilable/ddoc_markdown_tables.html
5
6 /++
7 # Tables
8
9 | Rounding mode | rndint(4.5) | rndint(5.5) | rndint(-4.5) | Notes |
10 | ------------- | ----------: | ----------: | -----------: | ----- |
11 | Round to nearest | 4 | 6 | -4 | Ties round to an even number |
12 | Round down | 4 | 5 | -5 |   |
13 | Round up | 5 | 6 | -4 |   |
14 | Round to zero | 4 | 5 | -4 |   |
15
16 this|that
17 ----|----
18 cell|cell<br>sell
19
20 | abc | def |
21 | --- | --- |
22 | bar |
23 | *bar* | baz | boo |
24
25 > | quote |
26 > | ----- |
27 > | table |
28
29 * | list |
30 | ---- |
31 | table |
32
33 | default | left | center | right |
34 | --- | :-- | :--: | --: |
35
36 Look Ma, a table without a body!
37
38 | not | a | table |
39 | -- |
40 | wrong number of header columns |
41 +/
42 module test.compilable.ddoc_markdown_tables;