It's clear enough that product names should not be formatted as code. What about package names? To me, this feels like a corner case not clearly addressed in When should code formatting be used for non-code text?.
Fish Below The Ice's and ChrisF ♦'s answers do not mention package names. They say code formatting for non-code should be used sparingly, give a few examples where that can be useful, but leave open the possibility of other appropriate uses.
According to Raedwald's answer, code formatting can be used for "any other string that a computer would recognize". I can see package names as strings that a computer recognises: they can be copied and pasted after a apt install
, npm install
, Install-Package
, ... command.
Is that enough to make it okay to use code formatting for them?
Context: I've had an answer edited to use code formatting for a package name. It looks weird to me personally, but I cannot quite figure out why. I do not know if I should leave it or roll it back.