According to https://confluence.atlassian.com/bitbucketserver/markdown-syntax-guide-776639995.html#Markdownsyntaxguide-Codeblocks it should be possible to insert tables via Markdown syntax. The example is exactly this:
| Day | Meal | Price | | --------|---------|-------| | Monday | pasta | $6 | | Tuesday | chicken | $8 |
However, when pasting exactly that code into Confluence (via the “Insert Markup” macro), what I get is definitely not a table, but rather arbitrarily formatted text.
Am I missing something or is that feature “only” broken?
OK. To anyone evaluating Confluence for mass content creation:
Atlassian has gotten too far over it's skis. There may be a future where they comment on important features customers are asking. There is hope in that they abandoned HipChat. Hopefully some of the staff that doesn't leave can be repurposed for customer interaction on requested features, including at least the communication of a roadmap within a one year timeline of important issues being raised.
Until you see a regular cadence of communication in this community, please including a low community strength score during your product evaluations.
It's such a shame that even after two years Confluence team has not even looked at this thread. Markdown is probably the most poular documentation syntax that developers use every day and it is probably the most supported across technologies. Almost every IDE that I know supports it either out of the box or through an extension. Githup and many other online tools support it. But, we don't even get a basic support in Confluence. It's very easy to do guys! just look at how many libraries are out there!
I wanted a table in a README.md file in Bitbucket and ended up with a mess (no formatting, just 1 long line of all the table syntax).
I found: MarkdownDemo
I thought that helped, but now I'm not so sure; not that the page isn't useful, but it didn't indicate what was needed to fix the table display.
What did work was once I put a blank line before the table definition.
I too found the blank line to be key.
Here is my flow:
Go to Markdown Tables Generator, a great site for producing tables in markdown. From File menu choose "Paste table data...". Paste your CSV or tabular data. Scroll a bit and click "Copy to clipboard". Back in Confluence, launch the Markdown macro and *make sure* it says Confluence Wiki (don't ask). Paste the table.
@Paul Munsey suggestion of putting a blank line immediately before the table definition markdown appears to be a requirement. I'm not using Confluence, but BitBucket Server.
Thanks @Paul Munsey I would not have figured that out for a while - so counterintuitive - and how careless that the documentation doesn't state this huge rake they left there for users to step on..
This is old question which does not have solution.
You can use this add-on to import Markdown with tables: All-in-one File Importer for Confluence
It supports importing Markdown files as well as LaTeX, Word, HTML and many others. If you have many files, it can import multiple files at once.
We are developers behind this add-on which is currently available for cloud users. Please give it a try and give us feedback if you see any issues.
Trying to work with the Confluence Wiki markup, the formatting of background colours seems to be all over the shop. When setting the colour, it will take UNLESS you actually put text into the "Cell". As soon as you put a header or text in there, the background colour reverts to default.
Apologies for hijacking the thread, but I'm getting completely exasperated at trying to find a comprehensive example of formatting backgrounds/cell colours using markup language rather than having to manually edit it!
I have an excel spreadsheet (no booing at the back there! :) which has one cell into which I've carefully crafted the markup required to insert a table-plus table and info boxes in the appropriate cells. However, a simple thing like trying to make a cell change colour seems to be eluding me, I've read so many web pages on what to do, but the majority of these all point to having to manually edit the cells once the table has been inserted.
Is there any chance of someone here giving me an "aha!" moment......pleeeeeease!!
What really upsets me about this is that pasting have the exact same user outcome as typing. If I can type a table, I should be able to paste a table, Preferably with just a CTRL-V and without opening additional windows.
I know you're aware of markup, since your system is built in it. So, why is it *SO FRICTIONAL* to get a table in markdown format from my clipboard to a confluence page?
The below should already be seen as a nicely formatted table. It's not.
| | mpg| cyl| disp|
|Mazda RX4 | 21.0| 6| 160|
|Mazda RX4 Wag | 21.0| 6| 160|
|Datsun 710 | 22.8| 4| 108|
|Hornet 4 Drive | 21.4| 6| 258|
|Hornet Sportabout | 18.7| 8| 360|
|Valiant | 18.1| 6| 225|
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event