Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events