Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a problem with wiki markdown and tables

Lex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 9, 2018

I have been trying to create tables using various version of wiki (markdown, reStructuredText, creole, Textile)  editor options,

but it is hard to see which syntax from these work and dont, in the wiki.

for example (reStructuredText)

 

+------------------------+------------+----------+----------+
| Header row, column 1 | Header 2 | Header 3 | Header 4 |
| (header rows optional) | | | |
+========================+============+==========+==========+
| body row 1, column 1 | column 2 | column 3 | column 4 |
+------------------------+------------+----------+----------+

 

the bottom line of the table never appears.

My aim was to try and find a decent table, wiki  so i can structure data, without it spanning across the page, but, this doesnt seem possible either. I spent about 6 hours looking at the different wiki editor version a for tables an many seemed to not work in bitbucket  according when trying to use the official syntax

is there some resource that explains what is possible within the bitbucket wiki, other than just giving external links to  to versions of the syntax that may or may not work.

or is there it better to use something else instead of a bit bucket wiki to document? 

any suggestions appreciated.

thanks

 

 

 

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2018

Hi Lex,

You can try using the - (dash) and the | (pipe) symbols to construct a table. The first line contains column headers. Separate columns with the pipe symbol.

The second line must be a mandatory separator line between the headers and the content. Subsequent lines are table rows. Columns are always separated by the pipe (|) character. For example:

First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell

You can only put simple lines in a table.

For more info about what you can do with tables, I recommend you checking  Markdown demo.

Hope that helps!

Ana

Lex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 12, 2018

Hi ana,

thanks for the response, I did try the markdown demo, but i was after a clearer table definition. so the example i gave was for reStructuredText table, which half works. the issue i am having is the understanding which syntax for the wiki versions used in bitbucket work, rather than having to try  syntax out on all 4 versions each time to see whats best. and when it doesnt work with what should be standard syntax, then is that a big with the wiki or it just not meant to work.

for example the syntax for the table i the original post is for reStructuredText, and that doesnt work correctly. But i didnt see anything in the documentation saying that some parts of standard reStructuredText code would not work - unless i missed it?

Otherwise is there a way to link or load a different wiki with better / normal functionality to a bitbucket project?

thanks Lex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events