How to paste markup (table, including links) into a document

Dirk Mika March 18, 2024

Up to now, we have run our own Confluence server. There I was able to insert markup via the corresponding menu item. This is apparently no longer possible with the new editor.
If possible, I would also like to avoid having to create a page with the old editor or having to make any detours via Excel or a Google document, as the markup does not exclusively contain a table.

My workflow is that a Python script creates a list of tickets for release notes as a markup table and compiles it with some other information into a markup document. The table contains, among other things, a link to the corresponding ticket.
Is there a way to copy text in a way to the clipboard so that I can insert the whole thing as a table in a page?
Or to import part of the page from a file?

I have read a number of contradictory statements as to whether and how this is supposed to work, hence my question.

1 answer

1 accepted

0 votes
Answer accepted
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 25, 2024

@Dirk Mika You can just copy and paste but it has to be in the correct format.  The new Confluence editor supports mediawiki style tables now, see format below.

heading 1 | heading 2 | heading 3
--- | --- | ---
Cell a1 | Cell a2 | Cell a3
Cell b1 | Cell b2 | Cell b3

If you have it in the correct format the editor will convert it to a table for you.  

Dirk Mika March 25, 2024

If I copy your text and paste it, I'll get this:

Bildschirmfoto 2024-03-26 um 06.53.25.png

I then tried some of the examples over here: https://www.mediawiki.org/wiki/Help:Tables/en

Same result. 

What do I miss?

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 26, 2024

@Dirk Mika I think it is pulling the web formatting.  If you copy and paste it into something like notepad first and then copy from notepad so it does not pull the web formatting and is plain text does it work for you?

Dirk Mika March 26, 2024

That gives a different result. ;-)

Using your text

heading 1 | heading 2 | heading 3
--- | --- | ---
Cell a1 | Cell a2 | Cell a3
Cell b1 | Cell b2 | Cell b3

 

gives

Bildschirmfoto 2024-03-27 um 07.10.15.png

But adding a leading "|" like

| heading 1 | heading 2 | heading 3
| --- | --- | ---
| Cell a1 | Cell a2 | Cell a3
| Cell b1 | Cell b2 | Cell b3

did it:

Bildschirmfoto 2024-03-27 um 07.13.59.png

BTW: None of the examples at https://www.mediawiki.org/wiki/Help:Tables/en work. So I wouldn't call it mediawiki style. ;-)

Like Brant Schroeder likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events