kovetskiy / mark

Sync your markdown files with Confluence pages.
https://samizdat.dev
Other
972 stars 143 forks source link

multi-line codeblocks in table cells #227

Open masterkidan opened 1 year ago

masterkidan commented 1 year ago

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?

prodigy-byron-jones commented 11 months ago

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.

kedarv commented 4 months ago

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