summaryrefslogtreecommitdiffstats
path: root/doc/markdown.doc
diff options
context:
space:
mode:
authorjohnk <johnk@arlut.utexas.edu>2016-10-05 19:38:51 (GMT)
committerjohnk <johnk@arlut.utexas.edu>2016-10-05 19:38:51 (GMT)
commit7f35695022d3baa8fc8c8d1b9a9f3368a0963871 (patch)
treebae5059d7772434969a76e22cd23115f027b7051 /doc/markdown.doc
parent8074d26746e58056b8aa1444439368b038f1dcd7 (diff)
downloadDoxygen-7f35695022d3baa8fc8c8d1b9a9f3368a0963871.zip
Doxygen-7f35695022d3baa8fc8c8d1b9a9f3368a0963871.tar.gz
Doxygen-7f35695022d3baa8fc8c8d1b9a9f3368a0963871.tar.bz2
Add support for more CSS formatting and column/row spanning in markdown tables
Diffstat (limited to 'doc/markdown.doc')
-rw-r--r--doc/markdown.doc34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/markdown.doc b/doc/markdown.doc
index b525fe9..300d7fc 100644
--- a/doc/markdown.doc
+++ b/doc/markdown.doc
@@ -337,6 +337,40 @@ which will look as follows:
| 10 | 10 | 10 |
| 1000 | 1000 | 1000 |
+Additionally, column and row spans are supported. Using a caret ("^")
+in a cell indicates that the cell above should span rows. Sequences
+of carets may be used for any number of row spans. For example:
+
+ | Right | Center | Left |
+ | ----: | :----: | :---- |
+ | 10 | 10 | 10 |
+ | ^ | 1000 | 1000 |
+
+which will look as follows:
+
+| Right | Center | Left |
+| ----: | :----: | :---- |
+| 10 | 10 | 10 |
+| ^ | 1000 | 1000 |
+
+Column spans are supported by means of directly adjacent vertical bars
+("|"). Each additional vertical bar indicates an additional column to
+be spanned. To put it another way, a single vertical bar indicates a
+single column span, two vertical bars indicates a 2 columns span, and
+so on. For example:
+
+ | Right | Center | Left |
+ | ----: | :----: | :---- |
+ | 10 | 10 | 10 |
+ | 1000 |||
+
+which will look as follows:
+
+| Right | Center | Left |
+| ----: | :----: | :---- |
+| 10 | 10 | 10 |
+| 1000 |||
+
For more complex tables in doxygen please have a look at: \ref tables
\subsection md_fenced Fenced Code Blocks