Lenny or Yen-Liang
"indent by four spaces" ← what does this mean? I'm going to ask a question on http://stackoverflow.com/ . And I need to post my Java code there. However, as I'm going to post my code, I find problems with the following sentences: To create code blocks or other preformatted text, indent by four spaces: This will be displayed in a monospaced font. The first four spaces will be stripped off, but all other whitespace will be preserved. Markdown and HTML are turned off in code blocks: This is not italic, and [this is not a link](http://example.com) To create not a block, but an inline code span, use backticks: Press the `<Tab>` key, then type a `$`. If you want to have a preformatted block within a list, indent by eight spaces: 1. This is normal text. 2. So is this, but now follows a code block: Skip a line and indent eight spaces. That's four spaces for the list and four to trigger the code block. What I don't know is this sentence "indent by four spaces". Does it mean type four consecutive spaces? I've tried to type four consecutive spaces, but I failed to create a code block. Does anybody know how to create code block on that website?
3 févr. 2012 05:30
Réponses · 3
indent = the space from the left edge of a page to the first letter
3 février 2012
for that you have to adjust all lines of code by giving at least 4 spaces and also hit enter button, till the above text code came in under highlighted code( under preview code), do same for further lines.
20 juillet 2019
Vous n'avez pas encore trouvé vos réponses ?
Écrivez vos questions et profitez de l'aide des locuteurs natifs !