qwazer / markdown-confluence-gradle-plugin

Gradle plugin to publish markdown pages to confluence
Apache License 2.0
12 stars 16 forks source link

Add support for multiline table cells #16

Open Clark2309 opened 5 years ago

Clark2309 commented 5 years ago

Hi, I want to publish an API documentation with a table with explanations. There are also some lists in the cells. During the publish all is flattened to one row. HTML tags are ignored too. Is there actually a way that I do not know? Best regards Christof

qwazer commented 5 years ago

HI, I didn't find a good way to do the above things. The Confluence wiki markup for tables is very limited.

You can try with confluence-specific macros {section} but it is not markdown syntax.

{section:border=true}
{column:width=30%}
Text for this column goes here. This is  the smaller column with a width of only 30%.
{column}
{column:width=70%}
Text for this column goes here. This is  the larger column with a width of 70%.
{column}
{section}
qwazer commented 5 years ago

I look more accurate at it. Yes Confluence has wiki syntax for lists inside cells

||Heading 1||Heading 2||
|* Item 1
* Item 2
* Item 3|# Item 1
# Item 2
# Item 3|

I'll look for Pegdown parser options to convert markdown to confluence wiki with saving the lists.

Clark2309 commented 5 years ago

Hi, thanks for quick response. That feature would be nice.

Clark2309 commented 5 years ago

But: It's not sich urgent as for now I rewrote all to fit in one line. Perhaps this issue is don with #13