Modify the line numbers of the code format in the Editor

Victor Botelho
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 9, 2022

When using the code snippet format, we cannot modify the line number, the code snippet always starts from 1.

Is it possible to modify this starting number? So the code snippet could inform correct the line numbers.

2 answers

1 accepted

0 votes
Answer accepted
Jorden Van Bogaert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2022

Hi @Victor Botelho 

Unfortunately the new Confluence Cloud editor is unable to edit line numbers at this point. There are some feature request tickets open to extend the capabilities of the code snippet macro, but for now it's simply not possible.

I suggest voting & commenting here: https://jira.atlassian.com/browse/CONFCLOUD-72003

Kind regards
Jorden

Dirk Schiller September 18, 2023
0 votes
Nihal Soans
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!
December 8, 2022

what ever @Jorden Van Bogaert  said in the previous comment , but looks like there is a better issue that addresses your question

 

https://jira.atlassian.com/browse/CONFCLOUD-74810

Suggest an answer

Log in or Sign up to answer