1. Disable the line numbers and center the text.
or
2. Disable line numbers and center the text.
Does the second one still sound natural when the article is removed?
Or should I go with this one:
Disable line numbering and center the text.
Zoltán Király Disable line numbering and center the text. This one. You are not disabling the numbers themselves, if I understand you.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Zoltán KirályDisable line numbering and center the text.
This one. You are not disabling the numbers themselves, if I understand you. I believe that what you are disabling is the automatic line-numbering feature of a piece of software.