Can you write out a table in KDoc? I thought it su...
# announcements
j
Can you write out a table in KDoc? I thought it supported full markdown? I've tried both of these and neither seems to render correctly in intellij
Copy code
* <table>
 *     <tr><td>source</td><td>source2</td></tr>
 * </table>
 *
 * | source | node1 | node2 | node3|
 * | -------|-------|-------|------|
 * | node1  |  0.0  | 1.2   |  1.3 |
 * | node2  |  2.1  | 0.0   |  2.3 |
 * | node3  |  3.1  | 3.2   |  0.0 |
k
They link this page as the Markdown specification, and it only talks about `<table>`s: https://daringfireball.net/projects/markdown/syntax. Maybe the table syntax you're talking about is some kind of Markdown extension? It's a loosely defined standard at best.
j
Yea, the below is supported by github. The above table doesn't render at all.
k
Ah the html one? You're right, as far as I can tell that should work.
j
I wonder if this is an IntellJ issue or a dokka issue
k
Does one of them work?
j
Nope
k
Seems to be a known issue actually, see https://youtrack.jetbrains.com/issueMobile/KT-16228.
j
k
Maybe link to the YouTrack issue to avoid duplicates.
j
Yea, good find.
Thanks
🙂 1