Message Boards Message Boards

0
|
9611 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Tables on Community and markdown ?

Posted 9 years ago

I didn't find a way to create a table to list the options in the posting. Is there a way to do so?

POSTED BY: Diego Zviovich
4 Replies

I think the WFR function MarkdownTableString does what you want, Diego.

POSTED BY: Anton Antonov

Do you mean a table similar to your GitHub page? Would simply copying table syntax from GitHub page here work? GitHub, Community and Stack Exchange all use the same so called markdown syntax, but they have different flavors of it. So I am not sure if table will work but maybe it is worth a shot.

POSTED BY: Vitaliy Kaurov
Posted 9 years ago

Hi Vitaly, I copied the posting in github as is. The only thing that did not convert was the table :(.

POSTED BY: Diego Zviovich

I split this into a separate discussion. Indeed it looks like Stack Exchange and Community flavors of markdown do not support tables yet:

Is there any markdown to create tables?

We will look into it. It would be good to have especially with tools like THIS. Perhaps a solution could be placing WL generated TeX output between $$ tags. For example:

TeXForm[
 TableForm[
  {{A, B},
   {C, D}}
  ]
 ]
\begin{array}{cc}
 A & B \\
 C & D \\
\end{array}

so it should look like a table but it does not - though it does in preview:

$$ \begin{array}{cc} A & B \ C & D \ \end{array} $$

And I agree - GitHub syntax integration would be nice. Any further ideas are welcome.

POSTED BY: Vitaliy Kaurov
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract