mark icon indicating copy to clipboard operation
mark copied to clipboard

multi-line codeblocks in table cells

Open masterkidan opened this issue 1 year ago • 2 comments

Hello folks, In gh markdown you can use <pre> tag with the <br /> tags to render a multi-line code block. However when I publish a table block like this to confluence, the <br /> tags and the <pre> tags get rendered as text. Is there a macro or something available that can help fix this?

masterkidan avatar Nov 17 '22 23:11 masterkidan

I too would love to know as I am using terraform-docs to generate the markdown for my code repository and complex objects, lists, sets and maps are created using the <pre> and <br> tags. For example: <pre>[<br> "postgresql"<br>]</pre>

Ideally, I think these cells should be turned into a code block object so they maintain their format? Any help would be greatly appreciated.

prodigy-byron-jones avatar Jul 15 '23 22:07 prodigy-byron-jones

running into this as well! did anyone figure it out?

kedarv avatar Feb 27 '24 19:02 kedarv