Hi,
I have a python script to create a confluence page and put some content in it.
With raw text there's no problem, but when i want to add some chart or tables using wiki markup, confluence text editor consider it as raw text.
For example, manually adding the below code in a wiki markup box will display a chart from a xlsx file. If you do it as raw text and just copy/paste, no chart will appear, just the text.
{chart:type=line|3D=false|title=My Title|dataDisplay=true|width=900|height=300|showShapes=false|categoryLabelPosition=up45|legend=true |yLabel=Seconds|dataOrientation=vertical} {viewxls:name=myFile.xlsx} {chart}
So my question is, what do I have to had for Confluence to understand that i want a markup format?
Thx
You need to convert it to storage format (convertWikiToStorageFormat) or use storage format for the text.
For those looking at this question that don't want to do programming, Confluence Command Line Interface handles all this including default handling of wiki markup conversion.
If I understood you right, you want to paste Python generated tex (including wiki markup) into a confluence wiki page?
Manual copy/paste?
From the menu use insert => markup (or ctrl-shift-d) to get a box, to paste your markup into.
I know, this is an old question, but maybe somebody else stumble upon it :)
What I was searching for, was:
a) use Confluence Wiki markup language for an own flask based wiki project (instead of markdown)
b) how to programmatically insert wiki pages into confluence with Python.
regards
Peter
(=PA=)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.