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?
2012年2月3日 05:30
回答 · 3
indent = the space from the left edge of a page to the first letter
2012年2月3日
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.
2019年7月20日
还未找到你的答案吗?
把你的问题写下来,让母语人士来帮助你!