As an example, I am using code from the link below. https://reference.wolfram.com/language/ref/ContourPlot3D.html
Usually such code has no line breaks and expands to fill the available width. Please visit the link to see this effect, assuming that it is not clear from my explanation.
ContourPlot3D[
Evaluate[ElectroStaticPotential[{1, -1}, {{-1, 0, 0}, {1, 0, 0}}, {x,
y, z}]], {x, -6, 6}, {y, 0, 4}, {z, -4, 4},
Contours -> {-0.75, -0.25, -0.1, 0, 0.1, 0.25, 0.75},
ContourStyle -> Table[Hue[i/7], {i, 0, 6}], Mesh -> None]
Is there a way to format it from the notebook interface (or by using some available package) for readability/inclusion in a limited character column space/book etc?
ContourPlot3D[
Evaluate[
ElectroStaticPotential[{1, -1},
{{-1, 0, 0}, {1, 0, 0}}, {x, y, z}]
],
{x, -6, 6}, {y, 0, 4}, {z, -4, 4},
Contours -> {-0.75, -0.25, -0.1, 0, 0.1, 0.25, 0.75},
ContourStyle -> Table[Hue[i/7], {i, 0, 6}],
Mesh -> None
]
I guess it is part of the larger question: "Are there any published guidelines for formatting Mma/Wolfram language code?"
Your help is appreciated.