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 = Truei = 0
it turns to ,
db.Connection.autocommit = True i = 0
How can I retain my code block ?
Hi @Vadiraj Joish
Can you please let me know which mode you are using for comment text mode or visual mode as on both modes I am able to see that it's working as expected.
I have past experience with visual mode where some extra lines are get added on the bottom when code block macro is used in Jira comment.
Can you try adding a paragraph of 5-6 lines and see if add as a new lines or not, because sometime these issues are wired but fix by changing the modes and then comment.
Visual mode doesn't retain the syntax as pasted.
It looks like you're new here. Sign in or register to get started.