It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Markdown import - detection of code block

Why isn't it possible to use/import typical specified markdown code block syntax which starts with

1) 4 spaces

Normal paragraph

    A Code-Block
    which starts with
    4 spaces

2) or with back-ticks

as described here


Or do I something wrong?

We are using Confluence 6.5.1

1 answer

0 votes
AnnWorley Atlassian Team May 02, 2018

Hi Robert, 

Confluence Wiki Markup reviews what you can do with mark-up in Confluence. You can type wiki markup directly into the editor, and Confluence will convert it as you type. 



I know the link but there is no solution!

I have my complete program documentation as ReadMe.txt files with Markup-Syntax and parts of the documentation include command lines, e.g.

cd ~/test
copy a to b

So how do I write the markup in my ReadMe files so that Confluence can auto-detect a "code block" during markup-insert?

I know I can write

cd ~/test
copy a to b

but this is not a typical readable markdown in a ReadMe file as e.g.

cd ~/test
copy a to b

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

294 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you