Line numbers - or block numbers - allow you to identify specific sequences of text or other objects on the page of a Coda doc. When line numbers are shown, you can more easily reference exact places on a page, thus keeping your team and collaborators aligned.
While Coda defaults to hiding line numbers, you can quickly change this setting to show the line numbers on specific pages, or on all pages in your doc. Once line numbers are turned on, you will see a number for each distinct block or each new line break on the page.
Within this article, you'll find...
Show line numbers on a single page
To turn on line numbers for a specific page in your doc, just follow these steps:
In the upper right corner of the doc, click on the gear icon
Select Page options
In the list of page options, find and toggle on Line numbers
That's it! You will now see line numbers appear on that specific page. These line numbers will be visible by everyone who views the page - not just by yourself. To turn on line numbers for all other pages, check out the next section.
Turn on line numbers for all pages
To turn on line numbers for all pages in a doc, follow the steps below:
Click on the gear icon in the upper right corner of the doc
Select Page options
Click into the New pages tab of the page options
Find Line numbers in the list of options:
To turn on line numbers for all future pages in this doc, switch on the toggle.
To turn on line numbers for all existing pages, click the page icon next to the toggle. You will then see a confirmation dialog. Click Apply to confirm.
Page numbers will now be visible to all doc viewers on all pages of the doc.
FAQs
What qualifies as a new line on a page?
What qualifies as a new line on a page?
In Coda, a new line starts every time there is a line break. For instance, if you press Enter on your keyboard, this will create a new line break (and the next line number). But if you press Shift+Enter, this is not considered a new line break (and therefore will not start a new line number).
Is there a way to turn on line numbers for all docs at once?
Is there a way to turn on line numbers for all docs at once?
At this time, there isn't any way to turn on line numbers for all docs at once. You will have to turn on line numbers for docs one by one.
Can I copy and share links to specific line numbers?
Can I copy and share links to specific line numbers?
Yes - you can easily copy the link to a specific line number, then share this link with others. When they click the link, they will be brought to that specific line number on the page.
To copy a line number, just hover next to the number on the page, click the three vertical dots that appear, and select Copy link.