Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Code block new line is not retained.

Shrivadiraja Joish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2023

When a code block is created in the comment section, the space/new lines change.

For example, if I paste the below code,

db.Connection.autocommit = True
i = 0

 

it turns to ,

db.Connection.autocommit = True i = 0

 

How can I retain my code block ?

1 answer

0 votes
Sagar Mahajan
Community Champion
April 22, 2023

Hi @Shrivadiraja Joish 

Looks like same questions from your team member, please check below question

https://community.atlassian.com/t5/Jira-Software-questions/how-to-retain-code-block-syntax/qaq-p/2331095

Suggest an answer

Log in or Sign up to answer