Questions tagged [code-formatting]
The code-formatting tag has no summary.
19 questions
1
vote
0
answers
42
views
Cannot post question because of formatting Issues, possibly due resource function?
I keep trying different things to format this question so that way it is shown, but it keeps saying that I cannot post it because of the formatting of the code. But when I copied and pasted back into ...
2
votes
0
answers
83
views
Unable to post a question due to formatting issues
Why am I getting an error as follows for the post content (after the dashed line)
"Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces ...
2
votes
0
answers
112
views
First time poster, struggling to post code
I have been struggling for a half hour to post my question but always getting the same error:
Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 ...
14
votes
1
answer
237
views
Is it acceptable to post code in unreadable form? (i.e Notebook boxes not Raw Input Form)
The offence
There seem to be a significant amount of new people posting code that looks like this
a = (E^(-2 Abs[\[Gamma] - z Cos[\[Theta]]]^2) \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(j = 0\), \(m\)]\(...
1
vote
1
answer
112
views
Matematica StackExchange seems to not allow Latex typesetting
I try to post the following question on Mahtematica Stack Exchange (see below the triple lines). It shows up perfectly in the preview, but when I try to post I get the error "Your post appears to ...
1
vote
0
answers
73
views
How do I upload my question to this website?
I'm unable to upload this question to mathematica stack exchange. I get a message below the edit box which states, "Code is not formatted correctly." Please help if possible.
9
votes
0
answers
235
views
Post contains a code that is not properly formatted
I am trying to post this question on Mathematica StackExchange but I am getting an error that my code is not properly formatted. I double-checked every line for some time now, but I cannot find an ...
4
votes
1
answer
221
views
Post without code supposed to "contain code that is not properly formatted"
I'm trying to post a question but keep getting the error
Your post appears to contain code that is not properly formatted as
code. Please indent all code by 4 spaces using the code toolbar button
...
15
votes
1
answer
408
views
First-time posts with unformatted code should be automatically caught
tl;dr This is a feature request to enable automatically detecting unformatted code in first-time posts, and show a helpful message to the poster on how to fix it.
According to the following meta post, ...
3
votes
1
answer
123
views
How to input ` in StackExchange [duplicate]
The ` is used to close the code-inline,But how can I input following code?
1
vote
0
answers
42
views
Markdown broken [duplicate]
What is wrong with the markdown prettifier here?
opts = {
"$dollar$" :> "$",
"$percent$" :> "%",
};
Just to clarify the issue only appears on mathematica.stackexchange like it does ...
7
votes
0
answers
196
views
\[DifferentialD] not displayed correctly in Mathematica StackExchange
\[DifferentialD] apparently does not have a Unicode representation, so I had to enter it directly in a reformatting of question 83672. However, I noticed that it is displayed in blue, as if it were ...
4
votes
2
answers
127
views
How to place nicely parsed code into an answer
I have seen many answers where there is nicely parsed Mathematica code in the answer.
When I attempted to answer a question and pasted in the code, all the spaces and line breaks were removed so it ...
10
votes
2
answers
193
views
Backquotes in titles
I'm not sure whether backquotes in titles are supposed to work, or whether they don't currently work, or whether they shouldn't be used. See this question for an example. I know that the math stuff ...
5
votes
1
answer
261
views
What to do with brackets in function[]-style references?
Recently I encountered more and more situations where the poster/editor explicitly used function[] instead of function when referencing built-in functions (i.e. Dot[] instead of Dot). What is the ...